Merge pull request #123902 from hyperfekt/mount-pstore-quiet

nixos/filesystems: condition mount-pstore.service on unmounted /sys/fs/pstore

(cherry picked from commit d7555732bc8bb8a2acb50fd4ecba96c825b4f21e)

Reason: activation throws an error from failing to start the unit
This commit is contained in:
Guillaume Girol 2021-05-23 12:18:14 +00:00 committed by hyperfekt
parent 075ab49dc2
commit 1c1e5094d9
1 changed files with 1 additions and 0 deletions

View File

@ -321,6 +321,7 @@ in
RemainAfterExit = true; RemainAfterExit = true;
}; };
unitConfig = { unitConfig = {
ConditionPathIsMountPoint = "!/sys/fs/pstore";
ConditionVirtualization = "!container"; ConditionVirtualization = "!container";
DefaultDependencies = false; # needed to prevent a cycle DefaultDependencies = false; # needed to prevent a cycle
}; };