mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Hardware] Add nvtop package depending on GPU vendor
This commit is contained in:
parent
908f639003
commit
53736b1150
1 changed files with 8 additions and 0 deletions
|
|
@ -13,4 +13,12 @@ in
|
||||||
./hardware/intel.nix
|
./hardware/intel.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
environment.systemPackages = []
|
||||||
|
++ optional (cfg.amd.enable && cfg.nvidia.enable) pkgs.nvtop
|
||||||
|
++ optional cfg.amd.enable pkgs.nvtop-amd
|
||||||
|
++ optional cfg.nvidia.enable pkgs.nvtop-nvidia
|
||||||
|
;
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue