summaryrefslogtreecommitdiff
path: root/common.nix
diff options
context:
space:
mode:
authorChristoph Cullmann <cullmann@kde.org>2024-06-03 17:16:11 +0200
committerChristoph Cullmann <cullmann@kde.org>2024-06-03 17:16:11 +0200
commitb38bbd605436edd69f6be1aecfcf03b6517fb8a8 (patch)
treeb05d591faa80c81b354c144c10846f650126d302 /common.nix
parent3c259cac4a55636fbd200d103c81bb3fa41c48f3 (diff)
kernel build too slow
Diffstat (limited to 'common.nix')
-rw-r--r--common.nix14
1 files changed, 1 insertions, 13 deletions
diff --git a/common.nix b/common.nix
index 5110e41..3e88570 100644
--- a/common.nix
+++ b/common.nix
@@ -29,19 +29,6 @@ in
boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
boot.supportedFilesystems = [ "zfs" ];
- # more responsive kernel
- boot.kernelPatches = [ {
- name = "enable RT_FULL";
- patch = null;
- extraConfig = ''
- PREEMPT y
- PREEMPT_BUILD y
- PREEMPT_VOLUNTARY n
- PREEMPT_COUNT y
- PREEMPTION y
- '';
- } ];
-
# Use the systemd-boot EFI boot loader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
@@ -247,6 +234,7 @@ in
CacheDirectory = "nix";
};
};
+ environment.variables.NIX_REMOTE = "daemon";
# auto update
system.autoUpgrade = {