From 4490a2bfbb6dcc16a2e560eaad9563cdd147f7d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 1 Feb 2023 00:14:39 +0100 Subject: [PATCH] Move to nixos-modules --- config/default.nix | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/config/default.nix b/config/default.nix index ebf12aca..5224ee42 100644 --- a/config/default.nix +++ b/config/default.nix @@ -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";