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

@ -19,45 +19,27 @@ topLevel: {
# TODO: dunno why I need this packge
environment.systemPackages = [ pkgs.dconf ];
imports =
with topLevel.config.flake.modules.nixos;
[
(modulesPath + "/profiles/qemu-guest.nix")
inputs.catppuccin.nixosModules.catppuccin
imports = with topLevel.config.flake.modules.nixos; [
(modulesPath + "/profiles/qemu-guest.nix")
inputs.catppuccin.nixosModules.catppuccin
# System modules
base
server
loptland-acme
hydra
forgejo
forgejo-runner
# System modules
base
server
loptland-acme
hydra
forgejo
forgejo-runner
# game server
minecraft-server
factorio-server
# game server
minecraft-server
factorio-server
# apps
# apps
# Users
cholli
]
++ [
{
home-manager.users.cholli = {
imports = with topLevel.config.flake.modules.homeManager; [
inputs.catppuccin.homeModules.catppuccin
# components
base
# Activate all user based config
cholli
];
};
}
];
# Users
cholli
];
services.tailscale = {
enable = true;