This commit is contained in:
2025-08-18 23:29:30 -05:00
parent 59d36c35ff
commit b1dd43f2ca
2 changed files with 6 additions and 6 deletions

View File

@@ -84,7 +84,7 @@
inputs.home-manager-config
];
users = (builtins.mapAttrs
(name: user: (lib.mkMerge [
(name: user: (lib.mkMerge ([
{
homeconfig = {
host = config.sysconfig.host;
@@ -92,12 +92,12 @@
graphical = config.sysconfig.graphical;
};
}
] ++ (if inputs ? ${user.username} then [ (inputs.${user.username} { config = config.home-manager.users.${user.username}; }) ] else [])
++ user.home-manager.extraModules))
] ++ (if inputs ? ${user.username} then [ (inputs.${user.username} { config = config.home-manager.users.${user.username}; inherit inputs; }) ] else [])
++ user.home-manager.extraModules)))
(builtins.removeAttrs
config.sysconfig.users
(builtins.partition
(name: (config.sysconfig.users.${name}.home-manager.enable && !config.sysconfig.users.${name}.home-manager.standalone))
(x: (config.sysconfig.users.${x}.home-manager.enable && !config.sysconfig.users.${x}.home-manager.standalone))
(builtins.attrNames config.sysconfig.users)
).wrong
)