Merge pull request #82 from blaggacao/patch-1

Hosts: fix mod override
This commit is contained in:
Timothy DeHerrera 2021-01-11 16:08:20 -07:00 committed by GitHub
commit e67cd3701a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,7 @@ let
inherit (pkgset) osPkgs unstablePkgs; inherit (pkgset) osPkgs unstablePkgs;
unstableModules = [ ]; unstableModules = [ ];
addToDisabledModules = [ ];
config = hostName: config = hostName:
lib.nixosSystem { lib.nixosSystem {
@ -30,7 +31,7 @@ let
core = self.nixosModules.profiles.core; core = self.nixosModules.profiles.core;
modOverrides = { config, unstableModulesPath, ... }: { modOverrides = { config, unstableModulesPath, ... }: {
disabledModules = unstableModules; disabledModules = unstableModules ++ addToDisabledModules;
imports = map imports = map
(path: "${unstableModulesPath}/${path}") (path: "${unstableModulesPath}/${path}")
unstableModules; unstableModules;