diff options
Diffstat (limited to 'nixos/modules/system')
| -rw-r--r-- | nixos/modules/system/boot/default.nix | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/nixos/modules/system/boot/default.nix b/nixos/modules/system/boot/default.nix index eedf939..df64426 100644 --- a/nixos/modules/system/boot/default.nix +++ b/nixos/modules/system/boot/default.nix @@ -1,18 +1,9 @@ -{ config, pkgs, lib, modulesPath, ... }: +{ pkgs, ... }: { - imports = [ - (modulesPath + "/installer/scan/not-detected.nix") - ]; - boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-amd" ]; - boot.extraModulePackages = [ ]; - # EDID firmware loading is kept here because it's a kernel-level boot concern. # Commented kernel params from the original config are preserved. # boot.kernelParams = [ @@ -25,7 +16,4 @@ cp ${../../../mi_edid.bin} $out/lib/firmware/edid/mi_edid.bin '') ]; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; }
\ No newline at end of file |
