commit | d051ade0c93829fa4bcaa53d4c09b5cd1e0bba00 | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Sat Jul 30 23:06:19 2022 +0100 |
committer | Skyler Grey <skyler3665@gmail.com> | Sat Jul 30 23:06:19 2022 +0100 |
tree | e636bb63cc86135becb37a90d7545aab0c24415f | |
parent | 89877372ca29ce511d336da92d95f3edc90d67fd [diff] |
Alias the "nice" commands
diff --git a/src/apps/personal/nice.nix b/src/apps/personal/nice.nix new file mode 100644 index 0000000..591a800 --- /dev/null +++ b/src/apps/personal/nice.nix
@@ -0,0 +1,5 @@ +{ ... }: { + home.shellAliases = builtins.listToAttrs ( + builtins.genList (value: { name = "n${value - 19}"; value = "nice -n ${value - 19}"; }) 40 + ); +}