Enable Flakes
parent
c9d7d44805
commit
ae5186a255
|
@ -35,11 +35,13 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
applyOverlays = overlays: ({...}:{ nixpkgs.overlays = overlays; });
|
applyOverlays = overlays: ({...}:{ nixpkgs.overlays = overlays; });
|
||||||
|
flakes = {...}: {nix.settings.experimental-features = [ "nix-command" "flakes" ];};
|
||||||
in {
|
in {
|
||||||
nixosConfigurations.kcnhub = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.kcnhub = nixpkgs.lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = attrs;
|
specialArgs = attrs;
|
||||||
modules = [
|
modules = [
|
||||||
|
flakes
|
||||||
(applyOverlays [ unfree-overlay unstable-overlay ])
|
(applyOverlays [ unfree-overlay unstable-overlay ])
|
||||||
./machines/kcnhub/configuration.nix
|
./machines/kcnhub/configuration.nix
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
|
|
Loading…
Reference in New Issue