chore: merge remote-tracking branch 'refs/remotes/origin/master'

This commit is contained in:
Ahwx 2025-04-08 11:50:40 +02:00
commit 281de396ec
2 changed files with 12 additions and 5 deletions

View file

@ -13,8 +13,8 @@
[ ./../home/default.server.nix ] [ ./../home/default.server.nix ]
else if (host == "dandelion") then else if (host == "dandelion") then
[ ./../home/default.server.nix ] [ ./../home/default.server.nix ]
else if (host == "yoshino") then # else if (host == "yoshino") then
[ ./../home/default.yoshino.nix ] # [ ./../home/default.nix ]
else [ ./../home ]; else [ ./../home ];
home = { home = {
username = "${username}"; username = "${username}";

View file

@ -12,18 +12,25 @@ in {
graphics = { graphics = {
enable = true; enable = true;
}; };
enableRedistributableFirmware = true;
opengl = { opengl = {
extraPackages = with pkgs; [ extraPackages = with pkgs; [
mesa
libva
libvdpau-va-gl
vulkan-loader
vulkan-validation-layers
amdvlk amdvlk
mesa.opencl
]; ];
# For 32 bit applications as well
extraPackages32 = with pkgs; [ 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; [ environment.systemPackages = with pkgs; [
amdvlk amdvlk
]; ];