2023-09-02 20:11:06 +02:00
|
|
|
{
|
|
|
|
stateVersion,
|
2023-09-18 13:04:44 +02:00
|
|
|
inputs,
|
2024-03-15 17:57:23 +01:00
|
|
|
nodes,
|
2024-08-31 20:47:00 +02:00
|
|
|
minimal,
|
2023-09-02 20:11:06 +02:00
|
|
|
...
|
2024-07-26 22:12:48 +02:00
|
|
|
}:
|
|
|
|
{
|
2024-04-11 23:11:53 +02:00
|
|
|
imports = [
|
|
|
|
../../modules-hm/impermanence.nix
|
2024-10-30 19:24:16 +01:00
|
|
|
../../modules-hm/hm-all.nix
|
2024-04-11 23:11:53 +02:00
|
|
|
];
|
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-08-31 20:47:00 +02:00
|
|
|
inherit nodes minimal;
|
2023-10-13 16:55:01 +02:00
|
|
|
};
|
2023-06-02 14:18:30 +02:00
|
|
|
sharedModules = [
|
2024-10-30 19:24:16 +01:00
|
|
|
{
|
|
|
|
home.stateVersion = stateVersion;
|
|
|
|
systemd.user.startServices = "sd-switch";
|
|
|
|
}
|
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
|
2024-07-23 19:17:51 +02:00
|
|
|
inputs.spicetify-nix.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
|
2024-06-03 22:31:51 +02:00
|
|
|
programs.zsh = {
|
|
|
|
enable = true;
|
|
|
|
# prevent zsh from calling compinit twice with different fpaths
|
|
|
|
# This overrides compdump each time, in turn making startup very slow
|
|
|
|
enableCompletion = false;
|
|
|
|
};
|
2024-06-25 22:48:19 +02:00
|
|
|
|
|
|
|
# But still link all completions from all packages so they
|
|
|
|
# can be found by zsh
|
2024-07-26 22:12:48 +02:00
|
|
|
environment.pathsToLink = [ "/share/zsh" ];
|
2023-06-02 14:18:30 +02:00
|
|
|
}
|