From ec59936012fd171a910544579f062afa86f7c879 Mon Sep 17 00:00:00 2001 From: John Ogle Date: Sat, 9 Nov 2024 15:11:45 -0800 Subject: [PATCH] [defaults] Disable systemd emergency mode --- roles/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/roles/default.nix b/roles/default.nix index 0cf9ef2..d39a8fd 100644 --- a/roles/default.nix +++ b/roles/default.nix @@ -31,6 +31,13 @@ with lib; }; time.timeZone = "America/Los_Angeles"; + # Don't go to emergency mode if we aren't able to mount filesystems. + # This is silly if you have multiple hard drives or partitions + # configured on a machine and then one goes away intentionally or + # unintentionally. If the system is already booting, let it continue + # to try and boot. + systemd.enableEmergencyMode = false; + # Enable the OpenSSH daemon. services.openssh.enable = true;