summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2026-05-26 09:05:04 -0400
committerFreya Murphy <freya@freyacat.org>2026-05-26 09:05:04 -0400
commitb199c1b05f873bb853247aa1e736365ccf1e93c2 (patch)
tree0f563440440ebf3edcb43c2bcb1977aecd08c214 /system
parentrefactor hyprland config again a lil bit (diff)
downloaddotfiles-nix-b199c1b05f873bb853247aa1e736365ccf1e93c2.tar.gz
dotfiles-nix-b199c1b05f873bb853247aa1e736365ccf1e93c2.tar.bz2
dotfiles-nix-b199c1b05f873bb853247aa1e736365ccf1e93c2.zip
nicify system
Diffstat (limited to 'system')
-rw-r--r--system/default.nix6
-rw-r--r--system/gaming/default.nix5
2 files changed, 9 insertions, 2 deletions
diff --git a/system/default.nix b/system/default.nix
index 4bb2809..40ef029 100644
--- a/system/default.nix
+++ b/system/default.nix
@@ -38,9 +38,11 @@ in {
experimental-features = ["nix-command" "flakes"];
use-xdg-base-directories = true;
trusted-users = ["root" "@wheel"];
- max-jobs = config.cores / 4;
- cores = (config.cores - 2) / config.nix.settings.max-jobs;
};
+ # make nice
+ daemonCPUSchedPolicy = "idle";
+ daemonIOSchedClass = "idle";
+ daemonIOSchedPriority = 7;
};
# allow defined unfree packages
diff --git a/system/gaming/default.nix b/system/gaming/default.nix
index ac04c6f..ead5de0 100644
--- a/system/gaming/default.nix
+++ b/system/gaming/default.nix
@@ -19,6 +19,11 @@ in {
ntsync = true;
};
+ services.ananicy = {
+ enable = true;
+ rulesProvider = pkgs.ananicy-rules-cachyos;
+ };
+
environment.systemPackages = with pkgs; [
winetricks
];