Skip to content

Commit

Permalink
Merge pull request #82 from blaggacao/patch-1
Browse files Browse the repository at this point in the history
Hosts: fix mod override
  • Loading branch information
nrdxp authored Jan 11, 2021
2 parents dee6d77 + 17fb425 commit e67cd37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hosts/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ let
inherit (pkgset) osPkgs unstablePkgs;

unstableModules = [ ];
addToDisabledModules = [ ];

config = hostName:
lib.nixosSystem {
Expand All @@ -30,7 +31,7 @@ let
core = self.nixosModules.profiles.core;

modOverrides = { config, unstableModulesPath, ... }: {
disabledModules = unstableModules;
disabledModules = unstableModules ++ addToDisabledModules;
imports = map
(path: "${unstableModulesPath}/${path}")
unstableModules;
Expand Down

0 comments on commit e67cd37

Please sign in to comment.