Add extra systemd config to server profile

This commit is contained in:
Jordan Holt 2024-05-17 22:32:19 +01:00
parent 52bfdd55a2
commit b16a42732a
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520

View File

@ -7,6 +7,8 @@
documentation.enable = false;
fonts.fontconfig.enable = false;
security = {
acme.acceptTerms = true;
auditd.enable = true;
@ -18,6 +20,20 @@
};
};
systemd = {
enableEmergencyMode = false;
sleep.extraConfig = ''
AllowSuspend=no
AllowHibernation=no
'';
watchdog = {
runtimeTime = "20s";
rebootTime = "30s";
};
};
modules.networking.tailscale = {
enable = true;
restrictSSH = false;