add extraSpecialArgs
This commit is contained in:
parent
d66f35bb05
commit
2b619a2be2
1 changed files with 21 additions and 18 deletions
|
|
@ -13,6 +13,7 @@
|
|||
# limitations under the License.
|
||||
{
|
||||
root,
|
||||
system,
|
||||
config,
|
||||
lib,
|
||||
specialArgs,
|
||||
|
|
@ -25,6 +26,7 @@
|
|||
pathExists
|
||||
;
|
||||
in {
|
||||
config = {
|
||||
home-manager = {
|
||||
users =
|
||||
config.users.users
|
||||
|
|
@ -32,7 +34,7 @@ in {
|
|||
|> filter (x: pathExists (root + "/homes/${x}"))
|
||||
|> (x: lib.genAttrs x (y: import (root + "/homes/${y}")));
|
||||
|
||||
# extraSpecialArgs = specialArgs;
|
||||
extraSpecialArgs = {inherit root system;} // (specialArgs.inputs or {});
|
||||
sharedModules = [
|
||||
# user configuration
|
||||
# (import (root + "/nixpkgs.nix"))
|
||||
|
|
@ -46,4 +48,5 @@ in {
|
|||
# we control the pkgs now!!
|
||||
# useGlobalPkgs = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue