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
|
|
|
...
|
|
|
|
}: {
|
2024-04-11 23:11:53 +02:00
|
|
|
imports = [
|
|
|
|
../../modules-hm/impermanence.nix
|
|
|
|
../../modules-hm/images.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
|
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;
|
|
|
|
}
|