diff options
| author | Nicolas Graves <ngraves@ngraves.fr> | 2026-05-14 02:03:11 +0200 |
|---|---|---|
| committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2026-08-09 13:30:03 +0100 |
| commit | 83022166effd7ecf68f82d0616cf6d6b27d39d1d (patch) | |
| tree | 3cbce14aa3c864c037c89ba78970d7dca3025dee /gnu/home | |
| parent | d1c611f6dda078b75154faacdeb8dfe0d9ee3d8f (diff) | |
gnu: services: Add jupyter services.
* gnu/services/jupyter.scm : New file. Introduce jupyter-service-type
and jupyter-configuration.
* gnu/home/services/jupyter.scm : New file. Introduce home variants.
* gnu/local.mk : Record files.
Relates-to: guix/guix!8657
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Diffstat (limited to 'gnu/home')
| -rw-r--r-- | gnu/home/services/jupyter.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/home/services/jupyter.scm b/gnu/home/services/jupyter.scm new file mode 100644 index 00000000000..f15fd7eb1ee --- /dev/null +++ b/gnu/home/services/jupyter.scm | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | ;;; GNU Guix --- Functional package management for GNU | ||
| 2 | ;;; Copyright © 2026 Nicolas Graves <ngraves@ngraves.fr> | ||
| 3 | ;;; | ||
| 4 | ;;; This file is part of GNU Guix. | ||
| 5 | ;;; | ||
| 6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | ||
| 7 | ;;; under the terms of the GNU General Public License as published by | ||
| 8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | ||
| 9 | ;;; your option) any later version. | ||
| 10 | ;;; | ||
| 11 | ;;; GNU Guix is distributed in the hope that it will be useful, but | ||
| 12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 14 | ;;; GNU General Public License for more details. | ||
| 15 | ;;; | ||
| 16 | ;;; You should have received a copy of the GNU General Public License | ||
| 17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | ||
| 18 | |||
| 19 | (define-module (gnu home services jupyter) | ||
| 20 | #:use-module (gnu home services) | ||
| 21 | #:use-module (gnu services) | ||
| 22 | #:use-module (gnu services jupyter) | ||
| 23 | ;; For the 'home-shepherd-service-type' mapping. | ||
| 24 | #:use-module (gnu home services shepherd) | ||
| 25 | #:export (home-jupyter-service-type) | ||
| 26 | #:re-export (jupyter-configuration)) | ||
| 27 | |||
| 28 | (define home-jupyter-service-type | ||
| 29 | (service-type | ||
| 30 | (inherit (system->home-service-type jupyter-service-type)) | ||
| 31 | (default-value (for-home (jupyter-configuration))))) | ||
