[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

@ -18,6 +18,8 @@ in {
config = mkIf cfg.enable {
hardware.opengl.driSupport32Bit = true;
aviallon.programs.nvtop.enable = true;
};
}

View file

@ -56,6 +56,8 @@ in {
nvidiaSettings = true;
};
aviallon.programs.nvtop.nvidia = true;
aviallon.boot.cmdline = {}
// {
"nvidia-drm.modeset" = 1;