diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-02-20 01:45:04 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-02-20 01:45:04 +0100 |
commit | 65924ba6e9a34aac5d5ab51db4cfb43d08825269 (patch) | |
tree | 414d4775178c6b56ed5809c26e8215db43a4a855 /custom | |
parent | dbb20f11069af3c302de02f122dd3f54535068a4 (diff) | |
download | nixos-65924ba6e9a34aac5d5ab51db4cfb43d08825269.tar nixos-65924ba6e9a34aac5d5ab51db4cfb43d08825269.tar.gz nixos-65924ba6e9a34aac5d5ab51db4cfb43d08825269.tar.bz2 nixos-65924ba6e9a34aac5d5ab51db4cfb43d08825269.tar.xz nixos-65924ba6e9a34aac5d5ab51db4cfb43d08825269.zip |
Bump setuid wrappers
Diffstat (limited to 'custom')
-rw-r--r-- | custom/uucp.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/custom/uucp.nix b/custom/uucp.nix index b5e5a0aa..2fbba8f9 100644 --- a/custom/uucp.nix +++ b/custom/uucp.nix | |||
@@ -208,7 +208,7 @@ in { | |||
208 | text = config.services.uucp.extraSys + "\n" + concatStringsSep "\n" (map sysSpec config.services.uucp.remoteNodes); | 208 | text = config.services.uucp.extraSys + "\n" + concatStringsSep "\n" (map sysSpec config.services.uucp.remoteNodes); |
209 | }; | 209 | }; |
210 | 210 | ||
211 | security.setuidOwners = map (p: {program = p; owner = "root"; group = "root"; setuid = true; setgid = false;}) ["uucico" "uuxqt" "cu" "uucp" "uuname" "uustat" "uux"]; | 211 | security.wrappers = listToAttrs (map (p: {source = "${pkgs.uucp}/bin/${p}"; owner = "root"; group = "root"; setuid = true; setgid = false;}) ["uucico" "uuxqt" "cu" "uucp" "uuname" "uustat" "uux"]); |
212 | 212 | ||
213 | nixpkgs.config.packageOverrides = pkgs: with pkgs; { | 213 | nixpkgs.config.packageOverrides = pkgs: with pkgs; { |
214 | uucp = stdenv.lib.overrideDerivation uucp (oldAttrs: { | 214 | uucp = stdenv.lib.overrideDerivation uucp (oldAttrs: { |