mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-15 08:46:25 +00:00
16 lines
268 B
Nix
16 lines
268 B
Nix
{ config, lib, pkgs, ...}: {
|
|
environment.systemPackages = with pkgs;
|
|
[
|
|
clinfo
|
|
libva-utils
|
|
python311Packages.gpustat
|
|
vdpauinfo
|
|
] ++ (if lib.elem "nvidia" config.services.xserver.videoDrivers then
|
|
[
|
|
nvtop
|
|
]
|
|
else
|
|
[
|
|
nvtop-amd
|
|
]);
|
|
}
|