{ config, pkgs, inputs, spicetify-nix, agenix, ... }: { imports = [ inputs.home-manager.nixosModules.home-manager inputs.catppuccin.nixosModules.catppuccin inputs.spicetify-nix.nixosModules.default ]; # Configure them here, because here I still have the system config.age. ... home-manager.users.etwas.services.restic.backups.localbackup = { passwordFile = config.age.secrets.restic-password.path; environmentFile = config.age.secrets.restic-s3-key.path; }; home-manager = { useUserPackages = true; # useGlobalPkgs = true; extraSpecialArgs = { inherit spicetify-nix; inherit agenix; }; users.etwas = { # The home.stateVersion option does not have a default and must be set home = { stateVersion = "24.05"; username = "etwas"; homeDirectory = "/home/etwas"; }; catppuccin = { flavor = "mocha"; accent = "mauve"; }; imports = [ inputs.catppuccin.homeModules.catppuccin inputs.spicetify-nix.homeManagerModules.default inputs.nix-index-database.homeModules.nix-index inputs.agenix.homeManagerModules.age inputs.private-config.homeManagerModules.default ] ++ [ ./essentials ./utils ./misc_pkgs ./wm ]; }; }; users.users.etwas = { isNormalUser = true; description = "etwas"; extraGroups = [ "networkmanager" "wheel" "storage" "tty" "dialout" "plugdev" ]; shell = pkgs.zsh; }; nix.settings.allowed-users = [ "etwas" ]; }