diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2019-12-23 16:28:09 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2019-12-23 16:28:09 +0100 |
commit | 42e65034876c03291bd103b4d22eca09d8e5ca61 (patch) | |
tree | 4ee220c679ff6d393ed2494d5bab8c69038f9ab8 | |
parent | 5fece3ccbfa49fd8ef27bbfabd1d5f0553ea7aea (diff) | |
download | nixos-42e65034876c03291bd103b4d22eca09d8e5ca61.tar nixos-42e65034876c03291bd103b4d22eca09d8e5ca61.tar.gz nixos-42e65034876c03291bd103b4d22eca09d8e5ca61.tar.bz2 nixos-42e65034876c03291bd103b4d22eca09d8e5ca61.tar.xz nixos-42e65034876c03291bd103b4d22eca09d8e5ca61.zip |
nice uucp
-rw-r--r-- | custom/uucp.nix | 3 |
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 | ''; |