diff options
author | Philip Taron <philip.taron@gmail.com> | 2023-11-30 15:34:11 -0800 |
---|---|---|
committer | Philip Taron <philip.taron@gmail.com> | 2023-11-30 15:34:11 -0800 |
commit | 9c505de9f4fddb0a13831682450445d9d59f0fd0 (patch) | |
tree | 6a8fd6f29f212b8063171766fec0e173d1c4424e /nixos/modules/tasks | |
parent | 1f73c2a7b635442339505ac67a587b71c3748af7 (diff) | |
download | nixlib-9c505de9f4fddb0a13831682450445d9d59f0fd0.tar nixlib-9c505de9f4fddb0a13831682450445d9d59f0fd0.tar.gz nixlib-9c505de9f4fddb0a13831682450445d9d59f0fd0.tar.bz2 nixlib-9c505de9f4fddb0a13831682450445d9d59f0fd0.tar.lz nixlib-9c505de9f4fddb0a13831682450445d9d59f0fd0.tar.xz nixlib-9c505de9f4fddb0a13831682450445d9d59f0fd0.tar.zst nixlib-9c505de9f4fddb0a13831682450445d9d59f0fd0.zip |
nixos/filesystems: ensure correct ordering w.r.t. shutdown.target
Diffstat (limited to 'nixos/modules/tasks')
-rw-r--r-- | nixos/modules/tasks/filesystems.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/tasks/filesystems.nix b/nixos/modules/tasks/filesystems.nix index 91e30aa4c0af..1378a0090c1d 100644 --- a/nixos/modules/tasks/filesystems.nix +++ b/nixos/modules/tasks/filesystems.nix @@ -406,7 +406,8 @@ in ConditionVirtualization = "!container"; DefaultDependencies = false; # needed to prevent a cycle }; - before = [ "systemd-pstore.service" ]; + before = [ "systemd-pstore.service" "shutdown.target" ]; + conflicts = [ "shutdown.target" ]; wantedBy = [ "systemd-pstore.service" ]; }; }; |