Hilton Chain
e4e34b7da4
services: nvidia: Create extra device nodes on boot.
...
* 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>
2024-04-24 20:06:46 -04:00
Hilton Chain
e3896f51d2
services: nvidia: Adjust configuration options.
...
* 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>
2024-04-24 20:06:44 -04:00
Jonathan Brielmaier
62a5df4222
*.scm: Use SPDX license identifiers.
...
Fixes https://gitlab.com/nonguix/nonguix/-/issues/224
* *.scm: Use SPDX license identifier and remove obsolete license
statement.
2022-12-19 17:17:39 +01:00
Hilton Chain
6874c66ddc
nongnu: Add nvidia-service-type.
...
* 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-12-18 14:10:33 +01:00
Jonathan Brielmaier
a95251a11f
services: Add missing paranthesis.
...
Follow up to 46c87a3aa2
.
* nongnu/services/vpn.scm (zerotier-one-service-type): Add missing `)`.
2022-05-19 11:39:23 +02:00
Jonathan Brielmaier
46c87a3aa2
services: Add description field to zerotier-one-service-type.
...
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.
2022-05-19 11:34:57 +02:00
Alexey Abramov
3246eac4fe
services: zerotier-one: Display output of actions to the user.
...
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-09-29 19:55:21 +00:00
James Smith
8428fc555c
services: Remove load-broadcom-sta-service.
...
* nongnu/services/kernel-modules.scm: Delete file.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2021-05-04 23:33:56 +02:00
Alexey Abramov
c34fa8bfac
services: Add zerotier-one-service.
...
* nongnu/services/vpn.scm: Add new file, and implement the service.
Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
2020-12-07 11:13:17 +01:00
Alex Griffin
ed867eb386
README.org: Don't recommend load-broadcom-sta-service
.
...
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`.
2020-03-22 15:16:02 -05:00
Alex Griffin
7b46603979
services: Add load-broadcom-sta-service.
...
* nongnu/services/kernel-modules.scm: New file.
2019-05-31 18:30:50 -05:00