summary refs log tree commit diff
path: root/nixos/modules/services/x11/desktop-managers/cde.nix
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2021-06-10 01:47:55 +0200
committerrnhmjoj <rnhmjoj@inventati.org>2021-09-13 13:48:13 +0200
commit8f76a6eefcfa0c9904e0749f04b27090527ce09f (patch)
tree47b535a13e66b65d02be6bd72111c34ed560b2fd /nixos/modules/services/x11/desktop-managers/cde.nix
parent41a498578e612cf34e2aa60eb0d8fc6a5b0d4d79 (diff)
downloadnixpkgs-8f76a6eefcfa0c9904e0749f04b27090527ce09f.tar
nixpkgs-8f76a6eefcfa0c9904e0749f04b27090527ce09f.tar.gz
nixpkgs-8f76a6eefcfa0c9904e0749f04b27090527ce09f.tar.bz2
nixpkgs-8f76a6eefcfa0c9904e0749f04b27090527ce09f.tar.lz
nixpkgs-8f76a6eefcfa0c9904e0749f04b27090527ce09f.tar.xz
nixpkgs-8f76a6eefcfa0c9904e0749f04b27090527ce09f.tar.zst
nixpkgs-8f76a6eefcfa0c9904e0749f04b27090527ce09f.zip
nixos: add implict security.wrappers options
This is to keep the same permissions/setuid/setgid as before the change
in security.wrappers defaults.
Diffstat (limited to 'nixos/modules/services/x11/desktop-managers/cde.nix')
-rw-r--r--nixos/modules/services/x11/desktop-managers/cde.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/nixos/modules/services/x11/desktop-managers/cde.nix b/nixos/modules/services/x11/desktop-managers/cde.nix
index 3f1575a0ca6..24ca82fca79 100644
--- a/nixos/modules/services/x11/desktop-managers/cde.nix
+++ b/nixos/modules/services/x11/desktop-managers/cde.nix
@@ -49,9 +49,10 @@ in {
     users.groups.mail = {};
     security.wrappers = {
       dtmail = {
-        source = "${pkgs.cdesktopenv}/bin/dtmail";
-        group = "mail";
         setgid = true;
+        owner = "nobody";
+        group = "mail";
+        source = "${pkgs.cdesktopenv}/bin/dtmail";
       };
     };