Add rocm-smi package to systemPackages for AMD driver configuration and
monitoring
This commit is contained in:
@@ -16,5 +16,6 @@ in
|
|||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
systemd.tmpfiles.rules = [ "L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}" ];
|
systemd.tmpfiles.rules = [ "L+ /opt/rocm/hip - - - - ${pkgs.rocmPackages.clr}" ];
|
||||||
services.xserver.videoDrivers = [ "amdgpu" ];
|
services.xserver.videoDrivers = [ "amdgpu" ];
|
||||||
|
environment.systemPackages = with pkgs; [ rocmPackages.rocm-smi ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,8 +9,7 @@ in
|
|||||||
exec-once = [
|
exec-once = [
|
||||||
"wl-paste --type text --watch cliphist store" # Saves text
|
"wl-paste --type text --watch cliphist store" # Saves text
|
||||||
"wl-paste --type image --watch cliphist store" # Saves images
|
"wl-paste --type image --watch cliphist store" # Saves images
|
||||||
"dbus-update-activation-environment --all --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
"dbus-update-activation-environment --all --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
||||||
"
|
|
||||||
"systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
"systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
|
||||||
"systemctl --user start hyprpolkitagent"
|
"systemctl --user start hyprpolkitagent"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user