users: let user module handle home-manager init
This commit is contained in:
parent
56da328707
commit
cc2a9e991b
6 changed files with 90 additions and 120 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue