feat(shell): enable shell in home-manager module
This commit is contained in:
parent
0ca6436522
commit
46f631aab1
1 changed files with 5 additions and 0 deletions
|
@ -14,4 +14,9 @@ in
|
||||||
}) cfg.manifest.users;
|
}) cfg.manifest.users;
|
||||||
users.users = forAllUsers' (_: value: { shell = pkgs.${value.shell}; });
|
users.users = forAllUsers' (_: value: { shell = pkgs.${value.shell}; });
|
||||||
};
|
};
|
||||||
|
flake.modules.homeManager.default =
|
||||||
|
{ config, ... }:
|
||||||
|
{
|
||||||
|
programs.${cfg.manifest.users.${config.home.username}.shell}.enable = true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue