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;
unstableModules = [ ];
addToDisabledModules = [ ];
config = hostName:
lib.nixosSystem {
@ -30,7 +31,7 @@ let
core = self.nixosModules.profiles.core;
modOverrides = { config, unstableModulesPath, ... }: {
disabledModules = unstableModules;
disabledModules = unstableModules ++ addToDisabledModules;
imports = map
(path: "${unstableModulesPath}/${path}")
unstableModules;