This commit is contained in:
Julian Sutter 2024-05-25 16:56:54 +00:00
parent d04eababea
commit 76beaa5f6a
2 changed files with 3 additions and 3 deletions

View file

@ -1,29 +0,0 @@
{ config, lib, pkgs, modulesPath, ... }:
{
networking.hostName = "labby";
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
services.xserver.videoDrivers = [ ];
hardware.opengl.extraPackages = with pkgs; [
rocm-opencl-icd
rocm-opencl-runtime
];
hardware.opengl.driSupport = true;
hardware.opengl.driSupport32Bit = true;
networking.bridges = {
"br0" = {
interfaces = [ "eth0" ];
};
};
}