From aadc07618aff8106f888c67383fb32e471dd817e Mon Sep 17 00:00:00 2001 From: Andreas Rammhold Date: Sun, 1 Nov 2020 22:22:08 +0100 Subject: [PATCH] nixos/unbound: drop ReadWritePaths from systemd unit configuration Both of the configured paths should be implicit due to RuntimeDirectory & StateDirectory. --- nixos/modules/services/networking/unbound.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/nixos/modules/services/networking/unbound.nix b/nixos/modules/services/networking/unbound.nix index bc2d5e550ba1..07e58481a77a 100644 --- a/nixos/modules/services/networking/unbound.nix +++ b/nixos/modules/services/networking/unbound.nix @@ -176,7 +176,6 @@ in RestrictNamespaces = true; LockPersonality = true; RestrictSUIDSGID = true; - ReadWritePaths = [ "/run/unbound" "${stateDir}" ]; }; }; # If networkmanager is enabled, ask it to interface with unbound.