simple mechanism to override modules from master
This commit is contained in:
parent
164a672129
commit
73bc694bbb
@ -14,6 +14,8 @@ let
|
||||
inherit (builtins) attrValues removeAttrs;
|
||||
inherit (pkgset) osPkgs unstablePkgs;
|
||||
|
||||
unstableModules = [ ];
|
||||
|
||||
config = hostName:
|
||||
lib.nixosSystem {
|
||||
inherit system;
|
||||
@ -27,6 +29,13 @@ let
|
||||
let
|
||||
core = self.nixosModules.profiles.core;
|
||||
|
||||
modOverrides = { config, unstableModulesPath, ... }: {
|
||||
disabledModules = unstableModules;
|
||||
imports = map
|
||||
(path: "${unstableModulesPath}/${path}")
|
||||
unstableModules;
|
||||
};
|
||||
|
||||
global = {
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
|
Loading…
Reference in New Issue
Block a user