Files
nix/modules/hosts/defaults.nix
2026-03-05 11:06:06 -06:00

48 lines
786 B
Nix

{ den, ... }: {
den.default = {
includes = with den.aspects; [
boot
security
locale
essentials
dns
openssh
syncthing
fish
];
nixos = { ... }: {
imports = [
/etc/nixos/hardware-configuration.nix
];
home-manager = {
useGlobalPkgs = true;
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";
};
};
}