mirror of
https://github.com/gburd/nix-config.git
synced 2024-09-09 11:26:12 +00:00
17 lines
268 B
Nix
17 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
|
||
|
]);
|
||
|
}
|