flake: inject extended 'lib' into NixOS config
Somehow it works just fine in my `home-manager` configuration, I assume it is using the system `nixpkgs` and its `lib` attribute that I extended. Whereas the NixOS system must be injected with the extended one intentionally.
This commit is contained in:
parent
ee1b31954a
commit
6bf6d21392
1 changed files with 4 additions and 0 deletions
|
|
@ -39,6 +39,10 @@
|
||||||
modules = defaultModules ++ [
|
modules = defaultModules ++ [
|
||||||
(./. + "/${name}.nix")
|
(./. + "/${name}.nix")
|
||||||
];
|
];
|
||||||
|
specialArgs = {
|
||||||
|
# Use my extended lib in NixOS configuration
|
||||||
|
inherit lib;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
eachDefaultSystem
|
eachDefaultSystem
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue