summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-12-23 16:28:09 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2019-12-23 16:28:09 +0100
commit42e65034876c03291bd103b4d22eca09d8e5ca61 (patch)
tree4ee220c679ff6d393ed2494d5bab8c69038f9ab8
parent5fece3ccbfa49fd8ef27bbfabd1d5f0553ea7aea (diff)
downloadnixos-42e65034876c03291bd103b4d22eca09d8e5ca61.tar
nixos-42e65034876c03291bd103b4d22eca09d8e5ca61.tar.gz
nixos-42e65034876c03291bd103b4d22eca09d8e5ca61.tar.bz2
nixos-42e65034876c03291bd103b4d22eca09d8e5ca61.tar.xz
nixos-42e65034876c03291bd103b4d22eca09d8e5ca61.zip
nice uucp
-rw-r--r--custom/uucp.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/custom/uucp.nix b/custom/uucp.nix
index 84dd0a4a..f2b10057 100644
--- a/custom/uucp.nix
+++ b/custom/uucp.nix
@@ -39,6 +39,9 @@ let
39 chat = pkgs.writeScript "chat" '' 39 chat = pkgs.writeScript "chat" ''
40 #!${pkgs.stdenv.shell} 40 #!${pkgs.stdenv.shell}
41 41
42 ${pkgs.util-linux}/bin/ionice -c 3 -p $$
43 ${pkgs.util-linux}/bin/renice -n 15 -p $$
44
42 echo . 45 echo .
43 exec ${config.security.wrapperDir}/uucico 46 exec ${config.security.wrapperDir}/uucico
44 ''; 47 '';