Files
nix/modules/hosts/defaults.nix
2026-03-03 21:48:51 -06:00

50 lines
819 B
Nix

{ den, ... }: {
den.default = {
includes = with den.aspects; [
den.provides.home-manager
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";
};
};
}