nixos/systems/labrizor.nix

26 lines
676 B
Nix

{ config, lib, pkgs, modulesPath, ... }:
{
networking.hostName = "labrizor";
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.graphics.extraPackages = with pkgs; [
# rocm-opencl-icd
# rocm-opencl-runtime
# ];
# networking.bridges = {
# "br0" = {
# interfaces = [ "eth0" ];
# };
# };
}