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