diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2022-12-09 16:40:53 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2022-12-09 16:40:53 +0100 |
| commit | 755c4b496e24f2df5f1b0f4a3873e9e00bae1fdc (patch) | |
| tree | da1d44189860fa9f0faa40e9ac552149cdd33a5f /gnu | |
| parent | 0406df0b9b1bf39caa39eba50f918c897ea204e6 (diff) | |
system: Remove unused yggdrasil OS template.
This file was added in fe1cd098d2b83737e96f19438612291f5a9316e4 but it's
not referenced from anywhere, not even gnu/local.mk. Furthermore, we
don't normally add full OS examples for the purposes of illustrating the
use of a single service.
* gnu/system/examples/yggdrasil.tmpl: Remove.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/system/examples/yggdrasil.tmpl | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/gnu/system/examples/yggdrasil.tmpl b/gnu/system/examples/yggdrasil.tmpl deleted file mode 100644 index 4d34f49b54f..00000000000 --- a/gnu/system/examples/yggdrasil.tmpl +++ /dev/null | |||
| @@ -1,60 +0,0 @@ | |||
| 1 | ;; This is an operating system configuration template | ||
| 2 | ;; for a "bare bones" setup, with no X11 display server. | ||
| 3 | |||
| 4 | (use-modules (gnu)) | ||
| 5 | (use-service-modules networking ssh) | ||
| 6 | (use-package-modules admin curl networking screen) | ||
| 7 | |||
| 8 | (operating-system | ||
| 9 | (host-name "ruby-guard-5545") | ||
| 10 | (timezone "Europe/Budapest") | ||
| 11 | (locale "en_US.utf8") | ||
| 12 | |||
| 13 | ;; Boot in "legacy" BIOS mode, assuming /dev/sdX is the | ||
| 14 | ;; target hard disk, and "my-root" is the label of the target | ||
| 15 | ;; root file system. | ||
| 16 | (bootloader (bootloader-configuration | ||
| 17 | (bootloader grub-bootloader) | ||
| 18 | (targets '("/dev/sdX")))) | ||
| 19 | (file-systems (cons (file-system | ||
| 20 | (device (file-system-label "my-root")) | ||
| 21 | (mount-point "/") | ||
| 22 | (type "ext4")) | ||
| 23 | %base-file-systems)) | ||
| 24 | (users (cons (user-account | ||
| 25 | (name "alice") | ||
| 26 | (comment "Bob's sister") | ||
| 27 | (group "users") | ||
| 28 | ;; adding her to the yggdrasil group means she can use | ||
| 29 | ;; yggdrasilctl to modify the configuration | ||
| 30 | (supplementary-groups '("wheel" "yggdrasil"))) | ||
| 31 | %base-user-accounts)) | ||
| 32 | |||
| 33 | ;; Globally-installed packages. | ||
| 34 | (packages (cons* screen curl %base-packages)) | ||
| 35 | |||
| 36 | ;; Add services to the baseline: a DHCP client and | ||
| 37 | ;; an SSH server. | ||
| 38 | ;; If you add an /etc/yggdrasil-private.conf, you can log in to ssh | ||
| 39 | ;; using your Yggdrasil IPv6 address from another machine running Yggdrasil. | ||
| 40 | ;; Alternatively, the client can sit behind a router that has Yggdrasil. | ||
| 41 | ;; That file is specifically _not_ handled by Guix, because we don't want its | ||
| 42 | ;; contents to sit in the world-readable /gnu/store. | ||
| 43 | (services | ||
| 44 | (append | ||
| 45 | (list | ||
| 46 | (service dhcp-client-service-type) | ||
| 47 | (service yggdrasil-service-type | ||
| 48 | (yggdrasil-configuration | ||
| 49 | (log-to 'stdout) | ||
| 50 | (log-level 'debug) | ||
| 51 | (autoconf? #f) | ||
| 52 | (json-config | ||
| 53 | ;; choose a few from | ||
| 54 | ;; https://github.com/yggdrasil-network/public-peers | ||
| 55 | '((peers . #("tcp://1.2.3.4:1337")))) | ||
| 56 | (config-file #f))) | ||
| 57 | (service openssh-service-type | ||
| 58 | (openssh-configuration | ||
| 59 | (port-number 2222)))) | ||
| 60 | %base-services))) | ||
