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 = [ ];