From f02308a40ec603229c2249373197f16865775474 Mon Sep 17 00:00:00 2001 From: prescientmoon Date: Wed, 28 Aug 2024 01:05:39 +0200 Subject: [PATCH] Fix systemd `after` for rollback --- hosts/nixos/calypso/filesystems/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/nixos/calypso/filesystems/default.nix b/hosts/nixos/calypso/filesystems/default.nix index b20f013..52f1bee 100644 --- a/hosts/nixos/calypso/filesystems/default.nix +++ b/hosts/nixos/calypso/filesystems/default.nix @@ -24,7 +24,7 @@ boot.initrd.systemd.services.rollback = { description = "Rollback BTRFS root subvolume to a pristine state"; wantedBy = [ "initrd.target" ]; - after = [ "systemd-cryptsetup@enc.service" ]; + after = [ "systemd-cryptsetup@crypted.service" ]; before = [ "sysroot.mount" ]; unitConfig.DefaultDependencies = "no"; serviceConfig.Type = "oneshot";