From b224ae41ba852b53ce13166d527ea8dcfb7723cb Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Thu, 16 May 2024 20:40:16 +0200 Subject: [PATCH] fujitsu: tuning --- hosts/fujitsu/default.nix | 3 +++ hosts/fujitsu/hardware-configuration.nix | 1 + 2 files changed, 4 insertions(+) diff --git a/hosts/fujitsu/default.nix b/hosts/fujitsu/default.nix index 7dc15f2..6e5f8d7 100644 --- a/hosts/fujitsu/default.nix +++ b/hosts/fujitsu/default.nix @@ -7,6 +7,9 @@ boot.loader.grub.enable = true; boot.loader.grub.devices = [ "/dev/sda" "/dev/sdb" ]; + boot = { + kernelPackages = pkgs.linuxPackages_latest; + }; services.btrfs.autoScrub.enable = true; environment.persistence."/nix/persist/system" = { diff --git a/hosts/fujitsu/hardware-configuration.nix b/hosts/fujitsu/hardware-configuration.nix index 75fc55a..bd29015 100644 --- a/hosts/fujitsu/hardware-configuration.nix +++ b/hosts/fujitsu/hardware-configuration.nix @@ -7,6 +7,7 @@ boot.initrd.availableKernelModules = [ "ehci_pci" "ata_piix" "usb_storage" "usbhid" "sd_mod" "sr_mod" ]; boot.initrd.kernelModules = [ ]; + boot.initrd.systemd.enable = true; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ];