diff --git a/stube-pc/hardware-configuration.nix b/stube-pc/hardware-configuration.nix index 5ce65c4..38fb3a4 100644 --- a/stube-pc/hardware-configuration.nix +++ b/stube-pc/hardware-configuration.nix @@ -8,7 +8,7 @@ [ (modulesPath + "/profiles/qemu-guest.nix") ]; - boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "sd_mod" "sr_mod" "usb_storage" ]; + boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "ehci_pci" "usb_storage" "usbhid" "sd_mod" "sr_mod" "sdhci_pci" ]; boot.initrd.kernelModules = [ "amdgpu" ]; boot.kernelModules = [ "kvm-amd" "radeon.cik_support=0" "amdgpu.cik_support=1" ]; boot.extraModulePackages = [ ]; @@ -52,5 +52,8 @@ networking.useDHCP = lib.mkDefault true; # networking.interfaces.enp2s0.useDHCP = lib.mkDefault true; + hardware.enableRedistributableFirmware = true; + hardware.cpu.amd.updateMicrocode = true; + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; } diff --git a/stube-pc/system.nix b/stube-pc/system.nix index d6dec44..f9cc9be 100644 --- a/stube-pc/system.nix +++ b/stube-pc/system.nix @@ -52,6 +52,7 @@ enable = true; xkb.layout = "de"; desktopManager.xfce.enable = true; + videoDrivers = [ "displaylink" "modesetting" ]; }; services.displayManager = { enable = true;