mirror of
https://github.com/gburd/nix-config.git
synced 2024-11-15 00:36:25 +00:00
16 lines
307 B
Nix
16 lines
307 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
|
|
]);
|
|
}
|