lib/modules: pull devlib module arg from pkgs
So any overlays affecting devlib also affect the module argument
This commit is contained in:
parent
deb47dbfae
commit
7bf605d08c
|
@ -79,7 +79,7 @@
|
||||||
"utils": "utils_2"
|
"utils": "utils_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"narHash": "sha256-AnasH9JbhPD+sR30YP+1IvNoO0S4hUcSraJwvXIaIpo=",
|
"narHash": "sha256-jG9Y7IiZkB+xKuqsVr2wr0zfV2TNziIIRmv0MHqzis0=",
|
||||||
"path": "./lib",
|
"path": "./lib",
|
||||||
"type": "path"
|
"type": "path"
|
||||||
},
|
},
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
|
|
||||||
_module.args = {
|
_module.args = {
|
||||||
inherit self;
|
inherit self;
|
||||||
devlib = lib;
|
devlib = pkgs.devlib;
|
||||||
hosts = builtins.mapAttrs (_: host: host.config)
|
hosts = builtins.mapAttrs (_: host: host.config)
|
||||||
(removeAttrs self.nixosConfigurations [ config.networking.hostName ]);
|
(removeAttrs self.nixosConfigurations [ config.networking.hostName ]);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue