From 0cf4bac8d8b5a6b3ecf914f14663cb00d4cb235b Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Wed, 18 Feb 2026 22:03:26 -0500 Subject: update commits (nvidia still brokie) --- system/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'system/default.nix') diff --git a/system/default.nix b/system/default.nix index aba8c11..e912856 100644 --- a/system/default.nix +++ b/system/default.nix @@ -32,6 +32,8 @@ 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; }; }; @@ -39,6 +41,11 @@ nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) config.unfreePackages; + # load overlays + nixpkgs.overlays = [ + (final: _: import ../pkgs {pkgs = final;}) + ]; + # set state version system.stateVersion = config.stateVersion; @@ -112,6 +119,7 @@ }; # use the latest kernel + boot.kernelPackages = pkgs.linuxPackages_latest; # sysrq -- cgit v1.2.3-freya