add extraSpecialArgs

This commit is contained in:
do butterflies cry? 2026-02-14 14:06:29 +10:00
parent d66f35bb05
commit 2b619a2be2

View file

@ -13,6 +13,7 @@
# limitations under the License. # limitations under the License.
{ {
root, root,
system,
config, config,
lib, lib,
specialArgs, specialArgs,
@ -25,6 +26,7 @@
pathExists pathExists
; ;
in { in {
config = {
home-manager = { home-manager = {
users = users =
config.users.users config.users.users
@ -32,7 +34,7 @@ in {
|> filter (x: pathExists (root + "/homes/${x}")) |> filter (x: pathExists (root + "/homes/${x}"))
|> (x: lib.genAttrs x (y: import (root + "/homes/${y}"))); |> (x: lib.genAttrs x (y: import (root + "/homes/${y}")));
# extraSpecialArgs = specialArgs; extraSpecialArgs = {inherit root system;} // (specialArgs.inputs or {});
sharedModules = [ sharedModules = [
# user configuration # user configuration
# (import (root + "/nixpkgs.nix")) # (import (root + "/nixpkgs.nix"))
@ -46,4 +48,5 @@ in {
# we control the pkgs now!! # we control the pkgs now!!
# useGlobalPkgs = true; # useGlobalPkgs = true;
}; };
};
} }