27 lines
625 B
Nix
27 lines
625 B
Nix
{
|
|
stateVersion,
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
home-manager = {
|
|
useGlobalPkgs = true;
|
|
useUserPackages = true;
|
|
verbose = true;
|
|
extraSpecialArgs = {
|
|
spicePkgs = inputs.spicetify-nix.packages.${pkgs.system}.default;
|
|
};
|
|
sharedModules = [
|
|
{
|
|
home.stateVersion = stateVersion;
|
|
}
|
|
inputs.nix-index-database.hmModules.nix-index
|
|
inputs.wired-notify.homeManagerModules.default
|
|
inputs.spicetify-nix.homeManagerModule
|
|
];
|
|
};
|
|
# HM zsh needs this or else the startup order is fucked
|
|
# and env variables will be loaded incorrectly
|
|
programs.zsh.enable = true;
|
|
}
|