summaryrefslogtreecommitdiffstats
path: root/nixos/modules
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/networking/cjdns.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/cjdns.nix b/nixos/modules/services/networking/cjdns.nix
index c0955811e548..64d9ec215e40 100644
--- a/nixos/modules/services/networking/cjdns.nix
+++ b/nixos/modules/services/networking/cjdns.nix
@@ -248,6 +248,9 @@ in
serviceConfig = {
Type = "forking";
Restart = "on-failure";
+
+ ProtectHome = true;
+ PrivateTmp = true;
};
};