summaryrefslogtreecommitdiff
path: root/nongnu/services
AgeCommit message (Collapse)Author
20 hoursservices: nvidia: Only invoke commands when NVIDIA driver is in use.Hilton Chain
* nongnu/services/nvidia.scm (nvidia-service-type): Don't extend kernel-module-loader-service-type, move this part to… (nvidia-shepherd-service)[start]: …here. Check driver and command availablity. [stop]: Likewise. [modules]: Add (guix build utils) for ‘invoke/quiet’. Add (rnrs io ports) for ‘get-line’. Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
20 hoursservices: nvidia: No longer unload ‘nvidia_uvm’ module on powering off.Hilton Chain
Shepherd now handles kernel processes properly, no longer need to unload the module here. * nongnu/services/nvidia.scm (nvidia-shepherd-service)[requirement]: Remove 'user-processes. [one-shot?]: Set to #t. [stop]: Remove field. Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
20 hoursservices: nvidia: Create extra device nodes on boot.Hilton Chain
* nongnu/services/nvidia.scm (nvidia-shepherd-service) [requirement]: Add udev. [start]: Create extra device nodes via ‘nvidia-smi’. Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
20 hoursservices: nvidia: Adjust configuration options.Hilton Chain
* nongnu/services/nvidia.scm (nvidia-configuration): [nvidia-driver]: Rename to ‘driver’. Default to nvda. Accept a file-like object. [nvidia-firmware]: Rename to ‘firmware’. Accept a file-like object. [nvidia-module]: Rename to ‘module’. Accept a file-like object. [modules]: Remove option. (nvidia-shepherd-service): Correct kernel module name. [stop]: Don't return #f. (nvidia-service-type): Extend profile-service-type with ‘driver’. Adjust accordingly. Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2022-12-19*.scm: Use SPDX license identifiers.Jonathan Brielmaier
Fixes https://gitlab.com/nonguix/nonguix/-/issues/224 * *.scm: Use SPDX license identifier and remove obsolete license statement.
2022-12-18nongnu: Add nvidia-service-type.Hilton Chain
* nongnu/services/nvidia.scm: New file. (<nvidia-configuration>): New data type. (nvidia-shepherd-service,nvidia-service-type): New variables. * nongnu/packages/nvidia.scm (nvidia-driver)[description]: Adjust accordingly. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2022-05-19services: Add missing paranthesis.Jonathan Brielmaier
Follow up to 46c87a3aa2b39368f6345de8067487c0eb8b8d9b. * nongnu/services/vpn.scm (zerotier-one-service-type): Add missing `)`.
2022-05-19services: Add description field to zerotier-one-service-type.Jonathan Brielmaier
The `description` field is mandatory since Guix upstream commit 3948ac25b1dccc40c7fdf56377f94a0775a835ee. Fixes https://gitlab.com/nonguix/nonguix/-/issues/182 * nongnu/services/vpn.scm (zerotier-one-service-type): Add `description` field.
2021-09-29services: zerotier-one: Display output of actions to the user.Alexey Abramov
Fixes https://gitlab.com/nonguix/nonguix/-/issues/117. * nongnu/services/vpn.scm (%zerotier-action-join): call command via open-input-pipe and print exit code. (%zerotier-action-leave): dito. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2021-05-04services: Remove load-broadcom-sta-service.James Smith
* nongnu/services/kernel-modules.scm: Delete file. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2020-12-07services: Add zerotier-one-service.Alexey Abramov
* nongnu/services/vpn.scm: Add new file, and implement the service. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2020-03-22README.org: Don't recommend `load-broadcom-sta-service`.Alex Griffin
Closes #26. * README.org: Replace `load-broadcom-sta-service` example with new `kernel-loadable-modules` field. * nongnu/services/kernel-modules.scm (load-broadcom-sta-service): Update docstring to recommend switching to `kernel-loadable-modules`.
2019-05-31services: Add load-broadcom-sta-service.Alex Griffin
* nongnu/services/kernel-modules.scm: New file.