summary refs log tree commit diff
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2020-06-06 11:10:42 +0200
committerMathieu Othacehe <othacehe@gnu.org>2020-06-08 11:03:11 +0200
commit0dddaa7b017b9d4c0c1fc6598cc24b951e159d83 (patch)
tree4927efb4412e11dd0bf5f16cd6667a8637ffeac0
parent65c8512f9c709a85766e0e1cb8eee12459a3d705 (diff)
downloadguix-0dddaa7b017b9d4c0c1fc6598cc24b951e159d83.tar.gz
system: bare-bones: Remove dependency to X libraries.
Use "openssh-sans-x" to prevent the inclusion of X libraries to the bare-bones
system closure.

* gnu/system/examples/bare-bones.tmpl (operating-system)[services]: Use
openssh-sans-x instead of openssh.
-rw-r--r--gnu/system/examples/bare-bones.tmpl3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/system/examples/bare-bones.tmpl b/gnu/system/examples/bare-bones.tmpl
index 4f30a5b756..1035ab1d60 100644
--- a/gnu/system/examples/bare-bones.tmpl
+++ b/gnu/system/examples/bare-bones.tmpl
@@ -3,7 +3,7 @@
 
 (use-modules (gnu))
 (use-service-modules networking ssh)
-(use-package-modules screen)
+(use-package-modules screen ssh)
 
 (operating-system
   (host-name "komputilo")
@@ -46,5 +46,6 @@
   (services (append (list (service dhcp-client-service-type)
                           (service openssh-service-type
                                    (openssh-configuration
+                                    (openssh openssh-sans-x)
                                     (port-number 2222))))
                     %base-services)))