[Programs] Add nvtop config, with special handling for Nvidia GPUs

This commit is contained in:
Antoine Viallon 2023-05-06 20:17:28 +02:00
parent 17180722c1
commit 1f0f8ba399
Signed by: aviallon
GPG key ID: 186FC35EDEB25716
7 changed files with 34 additions and 7 deletions

View file

@ -17,6 +17,8 @@ in
];
config = mkIf cfg.enable {
aviallon.programs.nvtop.enable = true;
boot.initrd.kernelModules = [ "i915" ];
hardware.opengl = {
enable = true;