updates to kaladin after cpu change

This commit is contained in:
Chris Cochrun 2025-11-17 14:02:57 -06:00
parent a6454a4e0f
commit 04ff90b9a0
5 changed files with 11 additions and 5 deletions

View file

@ -15,16 +15,21 @@
networking.hostName = "kaladin"; # Define your hostname.
networking.interfaces.enp0s31f6.useDHCP = true;
networking.interfaces.enp8s0.useDHCP = true;
networking.interfaces.wlp9s0.useDHCP = true;
# NVIDIA
# services.xserver.videoDrivers = [ "nvidia" ];
hardware = {
amdgpu = {
opencl.enable = true;
initrd.enable = true;
};
graphics = {
enable = true;
extraPackages = with pkgs; [
mesa
vulkan-extension-layer
libva-vdpau-driver
libvdpau-va-gl
];

View file

@ -7,7 +7,7 @@
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
@ -57,5 +57,5 @@
# networking.interfaces.wlp7s0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}