From 1c1e5094d95f3525cb1ffffd38ab44b363757e8f Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Sun, 23 May 2021 12:18:14 +0000 Subject: [PATCH] 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 --- nixos/modules/tasks/filesystems.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/tasks/filesystems.nix b/nixos/modules/tasks/filesystems.nix index 24f71d29427..065d6cc95d1 100644 --- a/nixos/modules/tasks/filesystems.nix +++ b/nixos/modules/tasks/filesystems.nix @@ -321,6 +321,7 @@ in RemainAfterExit = true; }; unitConfig = { + ConditionPathIsMountPoint = "!/sys/fs/pstore"; ConditionVirtualization = "!container"; DefaultDependencies = false; # needed to prevent a cycle };