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

21 lines
415 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-09-02 20:11:06 +02:00
...
}: {
2023-06-02 14:18:30 +02:00
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
verbose = true;
sharedModules = [
{
home.stateVersion = stateVersion;
}
2023-09-18 13:04:44 +02:00
inputs.nix-index-database.hmModules.nix-index
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;
}