forked from c3d2/nix-config
Move to nixos-modules
This commit is contained in:
parent
d7f35bec7b
commit
4490a2bfbb
|
@ -195,16 +195,6 @@
|
||||||
|
|
||||||
services.nix-daemon.serviceConfig.KillMode = "control-group";
|
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
|
# Reboot on hang
|
||||||
watchdog = lib.mkIf (!config.boot.isContainer) {
|
watchdog = lib.mkIf (!config.boot.isContainer) {
|
||||||
runtimeTime = "15s";
|
runtimeTime = "15s";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user