nix-config/home/default.nix

75 lines
1.6 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";
# Here goes the rest of your home-manager config, e.g. home.packages = [ pkgs.foo ];
# inherit ./hyprland.nix;
home.username = "rhea";
home.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" ];
}