From 66ddc34a0a0262628a5b3db8b94aa3445430cd12 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Mon, 7 Apr 2025 18:03:17 +0200 Subject: [PATCH 1/2] feat: remove yoshino since it's no longer a different profile --- modules/core/user.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/user.nix b/modules/core/user.nix index fa4a29b..c988eda 100644 --- a/modules/core/user.nix +++ b/modules/core/user.nix @@ -13,8 +13,8 @@ [ ./../home/default.server.nix ] else if (host == "dandelion") then [ ./../home/default.server.nix ] - else if (host == "yoshino") then - [ ./../home/default.yoshino.nix ] + # else if (host == "yoshino") then + # [ ./../home/default.nix ] else [ ./../home ]; home = { username = "${username}"; From b628492fa8a5330da3ac05af94951b6b1cac49ea Mon Sep 17 00:00:00 2001 From: Ahwx Date: Mon, 7 Apr 2025 18:03:31 +0200 Subject: [PATCH 2/2] fix: update amdgpu role --- roles/amdgpu.nix | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/roles/amdgpu.nix b/roles/amdgpu.nix index 8d017f1..7c86877 100644 --- a/roles/amdgpu.nix +++ b/roles/amdgpu.nix @@ -12,17 +12,24 @@ in { graphics = { enable = true; }; - enableRedistributableFirmware = true; opengl = { extraPackages = with pkgs; [ + mesa + libva + libvdpau-va-gl + vulkan-loader + vulkan-validation-layers amdvlk + mesa.opencl ]; - # For 32 bit applications as well extraPackages32 = with pkgs; [ - driversi686Linux.amdvlk + driversi686Linux.amdvlk # Install amdvlk for 32 bit applications as well ]; }; + enableRedistributableFirmware = true; }; + + boot.initrd.kernelModules=[ "amdgpu" ]; environment.systemPackages = with pkgs; [ amdvlk