feat(shell): enable shell in home-manager module

This commit is contained in:
Mohammad Rafiq 2025-07-07 09:19:57 +08:00
parent 0ca6436522
commit 46f631aab1
No known key found for this signature in database

View file

@ -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;
};
} }