2023-01-01 12:25:16 +00:00
|
|
|
{ config, pkgs, ... }: {
|
|
|
|
imports = [ ./server-security.nix ./tailscale ];
|
2023-04-22 22:37:02 +01:00
|
|
|
networking.nameservers = [
|
|
|
|
"100.100.100.100"
|
|
|
|
"9.9.9.9"
|
|
|
|
"2620:fe::fe"
|
|
|
|
"149.112.112.112"
|
|
|
|
"2620:fe::9"
|
|
|
|
];
|
2023-01-01 12:25:16 +00:00
|
|
|
services.nscd = {
|
|
|
|
enable = true;
|
|
|
|
enableNsncd = true;
|
|
|
|
};
|
2023-07-05 16:09:52 +01:00
|
|
|
system.stateVersion = "23.05";
|
2023-07-05 16:07:48 +01:00
|
|
|
system.activationScripts.diff = ''
|
|
|
|
${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff /run/current-system "$systemConfig"
|
|
|
|
'';
|
2022-08-19 20:28:58 +01:00
|
|
|
}
|