From 813c9df1a2b7d7ed9937802a515079673acaf36f Mon Sep 17 00:00:00 2001 From: sadan <117494111+sadan4@users.noreply.github.com> Date: Fri, 6 Sep 2024 19:51:11 -0400 Subject: [PATCH] 226 current 2024-09-06 19:50:29 24.11.20240831.12228ff 6.11.0-rc5 * --- boxes/desktop/configuration.nix | 5 ++++- boxes/desktop/hardware-configuration.nix | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/boxes/desktop/configuration.nix b/boxes/desktop/configuration.nix index 1c5b216..6dff326 100644 --- a/boxes/desktop/configuration.nix +++ b/boxes/desktop/configuration.nix @@ -86,6 +86,7 @@ in hardware.openrazer.users = [ "meyer" ]; hardware.i2c.enable = true; hardware.xpadneo.enable = true; + hardware.amdgpu.opencl.enable = true; hardware.bluetooth.enable = true; services.tailscale.enable = true; networking.hostName = "nix-desktop-evo4b5"; # Define your hostname. @@ -111,6 +112,7 @@ in }; services.desktopManager.plasma6.enable = true; services.xserver = { + videoDrivers = [ "amdgpu" ]; enable = true; displayManager.sddm = { enable = true; @@ -118,7 +120,7 @@ in }; services.printing.enable = true; services.printing.drivers = with pkgs; [ - hplip + hplip ]; virtualisation = _v; # Enable the X11 windowing system. @@ -164,6 +166,7 @@ in # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ + clinfo fuse ifuse ddcutil diff --git a/boxes/desktop/hardware-configuration.nix b/boxes/desktop/hardware-configuration.nix index bde337f..7df64a1 100644 --- a/boxes/desktop/hardware-configuration.nix +++ b/boxes/desktop/hardware-configuration.nix @@ -10,7 +10,7 @@ ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; + boot.initrd.kernelModules = [ "amdgpu" ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ];