.github
.vscode
docs
hydra
keys
lib
modules
systems
artemision
hypr
kernel-patches
audio.nix
configuration.nix
default.nix
desktop.nix
fingerprint.nix
fonts.nix
graphics.nix
hardware.nix
libvirt.nix
polkit.nix
programs.nix
secrets.yaml
steam.nix
wifi.nix
zerotier.nix
bob
jeeves
jeeves-jr
palatine-hill
rhapsody-in-green
users
utils
.envrc
.gitconfig
.gitignore
.sops.yaml
CONTRIBUTING.md
README.md
checks.nix
flake.lock
flake.nix
shell.nix
sops-mergetool.sh
statix.toml
treefmt.toml
21 lines
432 B
Nix
21 lines
432 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
hardware.graphics = {
|
|
## radv: an open-source Vulkan driver from freedesktop
|
|
enable = true;
|
|
enable32Bit = true;
|
|
|
|
## amdvlk: an open-source Vulkan driver from AMD
|
|
extraPackages = with pkgs; [
|
|
amdvlk
|
|
rocmPackages.clr.icd
|
|
];
|
|
extraPackages32 = with pkgs; [
|
|
driversi686Linux.amdvlk
|
|
rocmPackages.clr.icd
|
|
];
|
|
};
|
|
services.xserver.videoDrivers = [ "amdgpu" ];
|
|
}
|