users: let user module handle home-manager init

This commit is contained in:
Christoph Hollizeck 2025-12-02 13:54:41 +01:00
parent 56da328707
commit cc2a9e991b
Signed by: Daholli
GPG key ID: 249300664F2AF2C7
6 changed files with 90 additions and 120 deletions

View file

@ -12,31 +12,14 @@ topLevel: {
};
programs.dconf.enable = true;
imports =
with topLevel.config.flake.modules.nixos;
[
inputs.nixos-wsl.nixosModules.default
imports = with topLevel.config.flake.modules.nixos; [
inputs.nixos-wsl.nixosModules.default
base
server
cholli
]
base
server
cholli
];
++ [
{
home-manager.users.cholli = {
imports = with topLevel.config.flake.modules.homeManager; [
inputs.catppuccin.homeModules.catppuccin
# components
base
# Activate all user based config
cholli
];
};
}
];
wsl = {
enable = true;
defaultUser = topLevel.config.flake.meta.users.cholli.username;