refactor(flake)!: deduplicate code in configurations
flake module
Pass around `perSystem`'s `pkgs` instances to the system configurations Some more refactoring in `configurations`' `mkHost` functions Also start using `home-manager`'s `useGlobalPkgs` option Also use `mkShellNoCC` for default `devShell` Also `nix flake update`
This commit is contained in:
parent
eeae48b5d8
commit
e3b1539b41
19 changed files with 183 additions and 246 deletions
|
@ -18,11 +18,13 @@
|
|||
# inputs);
|
||||
# };
|
||||
|
||||
# Use flake overlays by default
|
||||
nixpkgs = {
|
||||
overlays = lib.attrValues outputs.overlays;
|
||||
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
# NOTE: now automatic, since we're doing `useGlobalPkgs = true`
|
||||
#
|
||||
# # Use flake overlays by default
|
||||
# nixpkgs = {
|
||||
# overlays = lib.attrValues outputs.overlays;
|
||||
#
|
||||
# config.allowUnfree = true;
|
||||
# };
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue