From d750499c0c9627d12b0b67a9a896b39c14e1688e Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Sat, 7 Oct 2023 22:01:58 +0200 Subject: Install and configure nvidia-system-monitor --- tw/home/files/NVSM.conf | 4 ++++ tw/home/lap.scm | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 tw/home/files/NVSM.conf (limited to 'tw/home') diff --git a/tw/home/files/NVSM.conf b/tw/home/files/NVSM.conf new file mode 100644 index 00000000..a07a1a41 --- /dev/null +++ b/tw/home/files/NVSM.conf @@ -0,0 +1,4 @@ +[Graph] +gpuColors=@Variant(\0\0\0\x90\0\0\0\v[\"#00ff00\"]) +length=120000 +updateDelay=2000 diff --git a/tw/home/lap.scm b/tw/home/lap.scm index 5b73baa1..01ba7842 100644 --- a/tw/home/lap.scm +++ b/tw/home/lap.scm @@ -35,6 +35,8 @@ #:use-module (guix gexp) #:use-module ((nongnu packages messaging) #:select (signal-desktop)) + #:use-module ((nongnu packages nvidia) + #:select (nvidia-system-monitor)) #:use-module ((nongnu packages steam-client) #:select (steam-nvidia)) #:use-module (tw home) @@ -105,6 +107,7 @@ ;; Games steam-nvidia ; use "steam" for non-NVIDIA Steam client + nvidia-system-monitor ; Qt; installs "qnvsm" binary, but no .desktop file ;; Games are installed in ~/.guix-profile instead, to make updates of the ;; home environment faster. ;; 0ad flightgear freeciv simutrans/pak128 warzone2100 widelands pioneer @@ -119,6 +122,10 @@ (home-batsignal-configuration (batteries '("BAT0")))) + ;; For `nvidia-service-monitor'. + (simple-service 'qnvsm-config home-xdg-configuration-files-service-type + `(("congard/NVSM.conf" ,(local-file "files/NVSM.conf")))) + (service home-restic-backup-service-type (list (restic-backup-repository (schedule #~"0 */2 * * *") -- cgit v1.2.3