mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 23:00:14 +01:00
chore: merge remote-tracking branch 'refs/remotes/origin/master'
This commit is contained in:
commit
281de396ec
2 changed files with 12 additions and 5 deletions
|
|
@ -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}";
|
||||
|
|
|
|||
|
|
@ -12,18 +12,25 @@ 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
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue