nix-config/home/default.nix

76 lines
1.5 KiB
Nix

{
pkgs,
inputs,
spicetify-nix,
agenix,
...
}:
{
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;
};
users.rhea = {
# The home.stateVersion option does not have a default and must be set
home = {
stateVersion = "24.05";
username = "rhea";
homeDirectory = "/home/rhea";
};
programs.home-manager.enable = true;
catppuccin = {
flavor = "mocha";
accent = "mauve";
};
gtk.catppuccin.enable = true;
imports =
[
inputs.catppuccin.homeManagerModules.catppuccin
inputs.spicetify-nix.homeManagerModules.default
inputs.nix-index-database.hmModules.nix-index
inputs.agenix.homeManagerModules.age
]
++ [
./desktop
./essentials
./utils
./misc_pkgs
];
home.pointerCursor = {
gtk.enable = true;
package = pkgs.posy-cursors;
name = "Posy_Cursor";
size = 16;
};
};
};
users.users.rhea = {
isNormalUser = true;
description = "Rhea";
extraGroups = [
"networkmanager"
"wheel"
"storage"
];
shell = pkgs.zsh;
};
nix.settings.allowed-users = [ "rhea" ];
}