nix-config/home/default.nix

70 lines
1.4 KiB
Nix

{
pkgs,
inputs,
spicetify-nix,
agenix,
agenix-rekey,
...
}:
{
imports = [
inputs.home-manager.nixosModules.home-manager
inputs.catppuccin.nixosModules.catppuccin
inputs.spicetify-nix.nixosModules.default
];
home-manager = {
useUserPackages = true;
# useGlobalPkgs = true;
extraSpecialArgs = {
inherit spicetify-nix;
inherit agenix;
inherit agenix-rekey;
};
users.rhea = {
# The home.stateVersion option does not have a default and must be set
home = {
stateVersion = "24.05";
username = "rhea";
homeDirectory = "/home/rhea";
};
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.rhea = {
isNormalUser = true;
description = "etwas";
extraGroups = [
"networkmanager"
"wheel"
"storage"
"tty"
"dialout"
"plugdev"
];
shell = pkgs.zsh;
};
nix.settings.allowed-users = [ "rhea" ];
}