nix-config/modules/home-manager/default.nix
Gabe Venberg 9eb783a3e8 moved home-manager options to the "home" namespace
this frees up the "host" namespace for host-wide options.
2024-04-23 16:56:34 -05:00

25 lines
553 B
Nix

{
config,
pkgs,
lib,
...
}: {
home.stateVersion = "23.11"; # Please read the comment before changing.
# Let Home Manager install and manage itself on non-nixos systems.
programs.home-manager.enable = config.targets.genericLinux.enable;
# enable flakes on non-nixos systems
nix =
lib.mkIf config.targets.genericLinux.enable
{
package = pkgs.nix;
settings.experimental-features = ["nix-command" "flakes"];
settings.max-jobs = "auto";
gc.automatic = true;
};
imports = [
../hostopts.nix
];
}