diff options
Diffstat (limited to '')
| -rw-r--r-- | system/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/system/default.nix b/system/default.nix index 17b3f99..e912856 100644 --- a/system/default.nix +++ b/system/default.nix @@ -15,7 +15,6 @@ ./bluetooth.nix ./desktop.nix ./fingerprint.nix - ./hardened.nix ./hardware.nix ./networking.nix ./sshd.nix @@ -32,6 +31,9 @@ auto-optimise-store = true; 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 |