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

32 lines
801 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,
2024-03-15 17:57:23 +01:00
nodes,
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 = {
2024-03-15 17:57:23 +01:00
inherit nodes;
2023-10-13 16:55:01 +02:00
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-12-25 18:15:29 +01:00
inputs.nixos-extra-modules.homeManagerModules.default
2023-11-28 00:40:46 +01:00
inputs.nixvim.homeManagerModules.nixvim
2023-12-25 18:15:29 +01:00
inputs.spicetify-nix.homeManagerModule
inputs.wired-notify.homeManagerModules.default
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;
}