initial setup
This commit is contained in:
15
root/desktop/graphics/default.nix
Normal file
15
root/desktop/graphics/default.nix
Normal file
@ -0,0 +1,15 @@
|
||||
# Install GPU drivers and vulkan hdr layer
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
hardware.amdgpu.initrd.enable = true;
|
||||
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||
boot.kernelModules = [ "amdgpu" ];
|
||||
environment.systemPackages = with pkgs;[
|
||||
vulkan-tools
|
||||
vulkan-hdr-layer-kwin6
|
||||
];
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user