feat(hm): add git config to rafiq home, use forAllUsers'

This commit is contained in:
Mohammad Rafiq 2025-07-07 09:25:48 +08:00
parent d3d4f646b5
commit afa5f72f8f
No known key found for this signature in database
2 changed files with 25 additions and 1 deletions

View file

@ -1,6 +1,6 @@
{ inputs, config, ... }:
let
inherit (cfg.lib) flattenAttrs;
inherit (cfg.lib) forAllUsers' flattenAttrs;
cfg = config.flake;
hm = inputs.home-manager;
globalCfg = {
@ -9,6 +9,7 @@ let
sharedModules = [
(flattenAttrs (cfg.modules.homeManager or { }))
];
users = forAllUsers' (name: _: cfg.homes.${name});
};
in
{