Move to nixos-modules

This commit is contained in:
Sandro - 2023-02-01 00:14:39 +01:00
parent d7f35bec7b
commit 4490a2bfbb
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 0 additions and 10 deletions

View File

@ -195,16 +195,6 @@
services.nix-daemon.serviceConfig.KillMode = "control-group";
tmpfiles.rules = [
# never leave openssh in a state that you cannot log in
"d /etc 0755 root root -"
"d /etc/ssh 0755 root root -"
"f /etc/ssh/ssh_host_ed25519_key 0700 root root -"
"f /etc/ssh/ssh_host_ed25519_key.pub 0744 root root -"
"f /etc/ssh/ssh_host_rsa_key 0700 root root -"
"f /etc/ssh/ssh_host_rsa_key.pub 0744 root root -"
];
# Reboot on hang
watchdog = lib.mkIf (!config.boot.isContainer) {
runtimeTime = "15s";