mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-20 10:36: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
|
|
]);
|
|
}
|