changed hardware config
This commit is contained in:
parent
e4e60647a4
commit
d9de275780
2 changed files with 5 additions and 1 deletions
|
@ -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";
|
||||
}
|
||||
|
|
|
@ -52,6 +52,7 @@
|
|||
enable = true;
|
||||
xkb.layout = "de";
|
||||
desktopManager.xfce.enable = true;
|
||||
videoDrivers = [ "displaylink" "modesetting" ];
|
||||
};
|
||||
services.displayManager = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in a new issue