about summary refs log tree commit diff
path: root/nixos/modules/programs/ccache.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/programs/ccache.nix')
-rw-r--r--nixos/modules/programs/ccache.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/programs/ccache.nix b/nixos/modules/programs/ccache.nix
index d672e1da017a8..35a4373f6128c 100644
--- a/nixos/modules/programs/ccache.nix
+++ b/nixos/modules/programs/ccache.nix
@@ -28,7 +28,9 @@ in {
 
       # "nix-ccache --show-stats" and "nix-ccache --clear"
       security.wrappers.nix-ccache = {
+        owner = "nobody";
         group = "nixbld";
+        setuid = false;
         setgid = true;
         source = pkgs.writeScript "nix-ccache.pl" ''
           #!${pkgs.perl}/bin/perl