Files
nix/modules/hosts/defaults.nix
2026-03-03 15:01:19 -06:00

39 lines
722 B
Nix

{ den, ... }: {
den.default = {
includes = with den.aspects; [
boot
security
locale
essentials
];
nixos = { ... }: {
imports = [
/etc/nixos/hardware-configuration.nix
];
home-manager.useGlobalPkgs = true;
home-manager.backupFileExtension = "hm-backup";
system = {
stateVersion = "26.05";
autoUpgrade = {
enable = true;
allowReboot = false;
};
};
nixpkgs.config.allowUnfree = true;
nix = {
optimise.automatic = true;
settings.experimental-features = [ "nix-command" "flakes" ];
};
};
homeManager = {
home.stateVersion = "26.05";
};
};
}