diff options
-rw-r--r-- | pkgs/applications/misc/systembus-notify/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/misc/systembus-notify/default.nix b/pkgs/applications/misc/systembus-notify/default.nix index f05c8a0aa0746..c059c566fecd3 100644 --- a/pkgs/applications/misc/systembus-notify/default.nix +++ b/pkgs/applications/misc/systembus-notify/default.nix @@ -17,7 +17,9 @@ let Type = "exec"; ExecStart = "@out@/bin/systembus-notify"; PrivateTmp = true; - ProtectHome = true; + # NB. We cannot `ProtectHome`, or it would block session dbus access. + InaccessiblePaths = "/home"; + ReadOnlyPaths = "/run/user"; ProtectSystem = "strict"; Restart = "on-failure"; Slice = "background.slice"; |