From 75f035c7abcbfe33e769cec09911b57175152da0 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Mon, 23 Dec 2019 16:39:51 +0100 Subject: ... --- custom/uucp.nix | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'custom/uucp.nix') diff --git a/custom/uucp.nix b/custom/uucp.nix index af87231a..78ab1c03 100644 --- a/custom/uucp.nix +++ b/custom/uucp.nix @@ -303,21 +303,21 @@ in { setgid = false; }; }; - in listToAttrs (map wrapper ["uuxqt" "cu" "uucp" "uuname" "uustat" "uux"]); - security.wrappers.uucico = { - source = pkgs.writeScript '' - #!${pkgs.stdenv.shell} + uucico = { + source = pkgs.writeScript '' + #!${pkgs.stdenv.shell} - ${pkgs.utillinux}/bin/renice -n 15 -p $$ - ${pkgs.utillinux}/bin/ionice -c 3 -p $$ + ${pkgs.utillinux}/bin/renice -n 15 -p $$ + ${pkgs.utillinux}/bin/ionice -c 3 -p $$ - exec ${pkgs.uucp}/bin/uucico $@ - ''; - owner = "root"; - group = "root"; - setuid = true; - setgid = false; - }; + exec ${pkgs.uucp}/bin/uucico $@ + ''; + owner = "root"; + group = "root"; + setuid = true; + setgid = false; + }; + in listToAttrs (map wrapper ["uuxqt" "cu" "uucp" "uuname" "uustat" "uux"]) // { inherit uucico; }; nixpkgs.overlays = [(self: super: { uucp = super.stdenv.lib.overrideDerivation super.uucp (oldAttrs: { -- cgit v1.2.3