From 43de558f1aecb6e7c5d9892d361947602253c6ab Mon Sep 17 00:00:00 2001 From: nyxerinys Date: Thu, 1 Oct 2026 20:12:56 -0500 Subject: [PATCH] try to allow for luks fail --- hosts/apollo/boot.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hosts/apollo/boot.nix b/hosts/apollo/boot.nix index b87ebca..a6d9d33 100644 --- a/hosts/apollo/boot.nix +++ b/hosts/apollo/boot.nix @@ -25,6 +25,14 @@ crypttabExtraOpts = [ "fido2-device=auto" ]; }; + systemd.services."systemd-cryptsetup@" = { + overrideStrategy = "asDropin"; + serviceConfig = { + Restart = "no"; + OnFailureJobMode = "fail"; + }; + }; + systemd.services."zfs-import-nix-root" = { wants = [ "keys.mount" ]; after = [ "keys.mount" ];