all repos — nixfiles @ 1c6342bf7e1ca611d9728b3fb5e0e45cd16538bb

System and user configuration, managed by nix and home-manager

gaming: install ananicy
Alan Pearce alan@alanpearce.eu
Fri, 02 Sep 2022 13:26:47 +0200
commit

1c6342bf7e1ca611d9728b3fb5e0e45cd16538bb

parent

2fe27c9500cdbbd12fa2363e3df4a34f3a1fa7f4

1 files changed, 6 insertions(+), 1 deletions(-)

jump to
M system/settings/gaming.nixsystem/settings/gaming.nix
@@ -6,7 +6,7 @@ programs.gamemode = {     enable = true;
     settings = {
       general = {
-        renice = 1;
+        renice = 5;
       };
 
       custom = {
@@ -27,6 +27,11 @@ '';     user.extraConfig = ''
       DefaultLimitNOFILE=524288
     '';
+  };
+
+  services.ananicy = {
+    enable = true;
+    package = pkgs.ananicy-cpp;
   };
 
   networking.firewall = {