Message ID | 20200608125802.10617-4-janneke@gnu.org |
---|---|
State | Accepted |
Headers | show |
Series | Final wip-hurd-vm batch. | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | success | View Laminar job |
Jan (janneke) Nieuwenhuizen writes: > * gnu/system/examples/bare-hurd.tmpl (%hurd-os)[packages]: Add openssh. > [services]: Add openssh-service. > --- Moved instructions from commit message to bare-hurd.tmpl and Pushed to master as edbc067138fa417d03cbb204511d8b08b61a3d4d Thank you!
diff --git a/gnu/system/examples/bare-hurd.tmpl b/gnu/system/examples/bare-hurd.tmpl index 16f20416aa..6b421550b7 100644 --- a/gnu/system/examples/bare-hurd.tmpl +++ b/gnu/system/examples/bare-hurd.tmpl @@ -11,6 +11,8 @@ ;; it boots, but needs activation, more setup and services to be useful. (use-modules (gnu) (gnu system hurd) (guix utils)) +(use-service-modules ssh) +(use-package-modules ssh) (define %hurd-os (operating-system @@ -25,7 +27,14 @@ %base-file-systems)) (host-name "guixygnu") (timezone "Europe/Amsterdam") - (packages %base-packages/hurd) - (services %base-services/hurd))) + (packages (cons openssh %base-packages/hurd)) + (services (cons (service openssh-service-type + (openssh-configuration + (use-pam? #f) + (port-number 2222) + (permit-root-login #t) + (allow-empty-passwords? #t) + (password-authentication? #t))) + %base-services/hurd)))) %hurd-os