nix-config/modules/config/home-manager.nix

29 lines
711 B
Nix
Raw Normal View History

2023-09-02 20:11:06 +02:00
{
stateVersion,
2023-09-18 13:04:44 +02:00
inputs,
2023-10-13 16:55:01 +02:00
pkgs,
2023-09-02 20:11:06 +02:00
...
}: {
imports = [./impermanence/users.nix];
2023-06-02 14:18:30 +02:00
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
verbose = true;
2023-10-13 16:55:01 +02:00
extraSpecialArgs = {
spicePkgs = inputs.spicetify-nix.packages.${pkgs.system}.default;
};
2023-06-02 14:18:30 +02:00
sharedModules = [
{
home.stateVersion = stateVersion;
}
2023-09-18 13:04:44 +02:00
inputs.nix-index-database.hmModules.nix-index
2023-10-13 15:43:24 +02:00
inputs.wired-notify.homeManagerModules.default
2023-10-13 16:55:01 +02:00
inputs.spicetify-nix.homeManagerModule
2023-11-28 00:40:46 +01:00
inputs.nixvim.homeManagerModules.nixvim
2023-06-02 14:18:30 +02:00
];
};
# HM zsh needs this or else the startup order is fucked
# and env variables will be loaded incorrectly
programs.zsh.enable = true;
}