adds nvtop for all hosts
All checks were successful
Nix Format Check / check-format (push) Successful in 1m14s
All checks were successful
Nix Format Check / check-format (push) Successful in 1m14s
This commit is contained in:
parent
994d0cdedd
commit
93b1aba78d
@ -33,12 +33,13 @@
|
|||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Add ROCm packages
|
# Add ROCm packages and nvtop
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
rocmPackages.rocm-smi
|
rocmPackages.rocm-smi
|
||||||
rocmPackages.clr
|
rocmPackages.clr
|
||||||
rocmPackages.rocm-core
|
rocmPackages.rocm-core
|
||||||
rocmPackages.hipcc
|
rocmPackages.hipcc
|
||||||
rocmPackages.rocm-device-libs
|
rocmPackages.rocm-device-libs
|
||||||
|
nvtopPackages.amd
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -19,6 +19,12 @@
|
|||||||
# Load nvidia driver for Xorg and Wayland
|
# Load nvidia driver for Xorg and Wayland
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
|
|
||||||
|
# nvtop, a system monitor for GPUs
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
nvtopPackages.nvidia
|
||||||
|
nvtopPackages.amd
|
||||||
|
];
|
||||||
|
|
||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
# Modesetting is required.
|
# Modesetting is required.
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
|
@ -27,6 +27,9 @@
|
|||||||
driSupport32Bit = true;
|
driSupport32Bit = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# nvtop, a system monitor for GPUs
|
||||||
|
environment.systemPackages = with pkgs; [ nvtopPackages.nvidia ];
|
||||||
|
|
||||||
# Enable NVIDIA Docker support
|
# Enable NVIDIA Docker support
|
||||||
# test with: $ docker run --rm -it --device=nvidia.com/gpu=all ubuntu:latest nvidia-smi
|
# test with: $ docker run --rm -it --device=nvidia.com/gpu=all ubuntu:latest nvidia-smi
|
||||||
hardware.nvidia-container-toolkit.enable = true;
|
hardware.nvidia-container-toolkit.enable = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user