changed hardware config

This commit is contained in:
Paul Zinselmeyer 2024-08-28 22:41:26 +02:00
parent e4e60647a4
commit d9de275780
Signed by: pfzetto
GPG key ID: B471A1AF06C895FD
2 changed files with 5 additions and 1 deletions

View file

@ -8,7 +8,7 @@
[ (modulesPath + "/profiles/qemu-guest.nix") [ (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.initrd.kernelModules = [ "amdgpu" ];
boot.kernelModules = [ "kvm-amd" "radeon.cik_support=0" "amdgpu.cik_support=1" ]; boot.kernelModules = [ "kvm-amd" "radeon.cik_support=0" "amdgpu.cik_support=1" ];
boot.extraModulePackages = [ ]; boot.extraModulePackages = [ ];
@ -52,5 +52,8 @@
networking.useDHCP = lib.mkDefault true; networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp2s0.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"; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
} }

View file

@ -52,6 +52,7 @@
enable = true; enable = true;
xkb.layout = "de"; xkb.layout = "de";
desktopManager.xfce.enable = true; desktopManager.xfce.enable = true;
videoDrivers = [ "displaylink" "modesetting" ];
}; };
services.displayManager = { services.displayManager = {
enable = true; enable = true;