49 lines
968 B
Nix
49 lines
968 B
Nix
{pkgs, ...}: {
|
|
documentation = {
|
|
enable = true;
|
|
doc.enable = false;
|
|
man.enable = true;
|
|
dev.enable = false;
|
|
};
|
|
|
|
services = {
|
|
fstrim = {
|
|
enable = true;
|
|
};
|
|
tailscale.enable = true;
|
|
};
|
|
|
|
i18n = {
|
|
defaultLocale = "en_US.UTF-8";
|
|
extraLocaleSettings = {
|
|
LC_ADDRESS = "en_US.UTF-8";
|
|
LC_IDENTIFICATION = "en_US.UTF-8";
|
|
LC_MEASUREMENT = "en_US.UTF-8";
|
|
LC_MONETARY = "en_US.UTF-8";
|
|
LC_NAME = "en_US.UTF-8";
|
|
LC_NUMERIC = "en_US.UTF-8";
|
|
LC_PAPER = "en_US.UTF-8";
|
|
LC_TELEPHONE = "en_US.UTF-8";
|
|
LC_TIME = "en_US.UTF-8";
|
|
};
|
|
};
|
|
|
|
environment.etc."mdadm.conf".text = ''
|
|
MAILADDR root
|
|
'';
|
|
|
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
|
|
|
systemd = {
|
|
services.systemd-udevd.restartIfChanged = false;
|
|
|
|
extraConfig = ''
|
|
DefaultTimeoutStopSec=10s
|
|
'';
|
|
};
|
|
|
|
system = {
|
|
autoUpgrade.enable = false;
|
|
stateVersion = "23.05"; # no touchy
|
|
};
|
|
}
|