From b38bbd605436edd69f6be1aecfcf03b6517fb8a8 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Mon, 3 Jun 2024 17:16:11 +0200 Subject: [PATCH] kernel build too slow --- common.nix | 14 +------------- 1 file changed, 1 insertion(+), 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 = {