From 47d4e3aafac110564f06ef9440ee4849fbfdd595 Mon Sep 17 00:00:00 2001 From: ene Date: Sat, 25 Feb 2023 19:10:28 +0100 Subject: Fix(hosts/mammun): Update to generated hardware config --- hosts/mammun/hardware/default.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'hosts/mammun/hardware/default.nix') diff --git a/hosts/mammun/hardware/default.nix b/hosts/mammun/hardware/default.nix index e8da6ccc..116d2c22 100644 --- a/hosts/mammun/hardware/default.nix +++ b/hosts/mammun/hardware/default.nix @@ -6,12 +6,11 @@ ... }: { imports = [ - (modulesPath + "/installer/scan/not-detected.nix") # TODO is this necessary? + (modulesPath + "/installer/scan/not-detected.nix") ./cpu.nix - ./gpu.nix ]; - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + nixpkgs.hostPlatform = "x86_64-linux"; system.fileSystemLayouts = { enable = true; @@ -22,7 +21,6 @@ boot = { kernelModules = ["kvm-amd"]; - # TODO check this: - initrd.availableKernelModules = ["xhci_pci" "nvme" "rtsx_pci_sdmmc"]; + initrd.availableKernelModules = ["xhci_pci" "ahci" "ehci_pci" "sd_mod" "sr_mod" "sdhci_pci"]; }; } -- cgit 1.4.1