summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--custom/uucp.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/custom/uucp.nix b/custom/uucp.nix
index 0e38f4d2..c69d15c5 100644
--- a/custom/uucp.nix
+++ b/custom/uucp.nix
@@ -209,7 +209,15 @@ in {
209 }; 209 };
210 210
211 security.wrappers = let 211 security.wrappers = let
212 wrapper = p: { name = p; source = "${pkgs.uucp}/bin/${p}"; owner = "root"; group = "root"; setuid = true; setgid = false; }; 212 wrapper = p: { name = p;
213 value = {
214 source = "${pkgs.uucp}/bin/${p}";
215 owner = "root";
216 group = "root";
217 setuid = true;
218 setgid = false;
219 };
220 };
213 in listToAttrs (map wrapper ["uucico" "uuxqt" "cu" "uucp" "uuname" "uustat" "uux"]); 221 in listToAttrs (map wrapper ["uucico" "uuxqt" "cu" "uucp" "uuname" "uustat" "uux"]);
214 222
215 nixpkgs.config.packageOverrides = pkgs: with pkgs; { 223 nixpkgs.config.packageOverrides = pkgs: with pkgs; {