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.
{
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;
};
};
}