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