diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mk_system.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/mk_system.nix b/lib/mk_system.nix index ff51fef..70149fe 100644 --- a/lib/mk_system.nix +++ b/lib/mk_system.nix @@ -1,4 +1,4 @@ -{ self, unstable, ... } @ args: +{ self, unstable, colmena, ... } @ args: { mkSystem = { name, nixpkgs ? unstable, system ? "x86_64-linux", overlays ? null, extraModules ? null }: nixpkgs.lib.nixosSystem ( @@ -27,6 +27,9 @@ ../modules/nixpkgs.nix ] ++ nixpkgs.lib.optional (overlays != null) { nixpkgs.overlays = overlays; } ++ nixpkgs.lib.optionals (extraModules != null) extraModules; + + # let deployment options to be set without breaking eval on nixosConfigurations + extraModules = [ colmena.nixosModules.deploymentOptions ]; } ); |