mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2026-01-25 03:54:58 -06:00
services: nvidia: Make it no longer one-shot service.
This service is expected to be started once after boot, there's no reason to start it after every activation. * nongnu/services/nvidia.scm (nvidia-shepherd-service) [one-shot?]: Disable.
This commit is contained in:
parent
56038f08e5
commit
ebf01f03ff
1 changed files with 2 additions and 2 deletions
|
|
@ -33,7 +33,6 @@
|
|||
(documentation "Prepare system environment for NVIDIA driver.")
|
||||
(provision '(nvidia))
|
||||
(requirement '(udev))
|
||||
(one-shot? #t)
|
||||
(modules '(((guix build utils) #:select (invoke/quiet))
|
||||
((rnrs io ports) #:select (get-line))))
|
||||
(start
|
||||
|
|
@ -44,7 +43,8 @@
|
|||
(false-if-exception
|
||||
(begin
|
||||
(invoke/quiet modprobe "--" "nvidia_uvm")
|
||||
(invoke/quiet #$nvidia-smi)))))))))))
|
||||
(invoke/quiet #$nvidia-smi)))))))
|
||||
(stop #~(const #f))))))
|
||||
|
||||
(define nvidia-service-type
|
||||
(service-type
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue