woot, got it building, on to the next step

This commit is contained in:
Chris Kruining 2025-06-15 21:52:27 +02:00
parent be896b7739
commit 4053975856
Signed by: chris
SSH key fingerprint: SHA256:nG82MUfuVdRVyCKKWqhY+pCrbz9nbX6uzUns4RKa1Pg
9 changed files with 66 additions and 35 deletions

View file

@ -42,7 +42,7 @@ in rec
})
(filterAttrs (n: v: !elem n ["system"]) attrs)
(import path)
(args@{ ... }: {
(args@{ inputs, lib, pkgs, config, options, ... }: {
imports = mapModulesRec' ../modules/home (file: (import file (args // { user = "root"; })));
})
({...}: {
@ -61,7 +61,7 @@ in rec
};
})
]
++ (map (user: (args@{ ... }: {
++ (map (user: (args@{ inputs, lib, pkgs, config, options, ... }: {
imports = mapModulesRec' ../modules/home (file: (import file (args // { inherit user; })));
config.modules.${user} = (import "${path}/users/${user}/default.nix" args);