feat(hm): add git config to rafiq home, use forAllUsers'
This commit is contained in:
parent
d3d4f646b5
commit
afa5f72f8f
2 changed files with 25 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue