From 1c12a27bc30bfba870cbfcfe989b67c4eded26bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Sun, 31 Mar 2024 16:28:40 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20(aurum/system)=20update=20some?= =?UTF-8?q?=20boot=20options?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hosts/aurum/system/boot/default.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/hosts/aurum/system/boot/default.nix b/hosts/aurum/system/boot/default.nix index ab49306..fbe8a65 100644 --- a/hosts/aurum/system/boot/default.nix +++ b/hosts/aurum/system/boot/default.nix @@ -1,24 +1,31 @@ { pkgs, config, + lib, ... }: { # support for mounting windaube partitions boot.supportedFilesystems = ["ntfs"]; boot.loader.efi.canTouchEfiVariables = true; + # tmp, will be replaced by lanzaboot + boot.loader.systemd-boot.enable = true; + # clean /tmp at each boot boot.tmp.cleanOnBoot = true; # use latest kernel boot.kernelPackages = pkgs.linuxPackages_latest; + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + # imports = [ # ./lanzaboot.nix # ]; - boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"]; - boot.initrd.kernelModules = []; - boot.kernelModules = ["kvm-amd" "v4l2loopback"]; - boot.extraModulePackages = with config.boot.kernelPackages; [v4l2loopback]; + boot.initrd.availableKernelModules = ["xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod"]; + boot.initrd.kernelModules = [""]; + boot.kernelModules = ["kvm-intel"]; + boot.extraModulePackages = []; }