guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/07: DRAFT system: examples: Add bare-hurd.tmpl.


From: guix-commits
Subject: 07/07: DRAFT system: examples: Add bare-hurd.tmpl.
Date: Sat, 25 Apr 2020 06:53:39 -0400 (EDT)

janneke pushed a commit to branch wip-hurd-vm
in repository guix.

commit 091aceb89969022e283c7d6b9d40e91171bfb592
Author: Jan (janneke) Nieuwenhuizen <address@hidden>
AuthorDate: Sat Apr 25 12:45:46 2020 +0200

    DRAFT system: examples: Add bare-hurd.tmpl.
    
    XXX This does not work yet.  Start of migration from
    
        ./pre-inst-env guix build -f gnu/system/hurd.sm
    
    to
    
        ./pre-inst-env guix system build --target=i586-pc-gnu --no-bootloader 
--verbosity=1 gnu/system/examples/bare-hurd.tmpl
        ./pre-inst-env guix system vm --target=i586-pc-gnu --no-bootloader 
--verbosity=1 gnu/system/examples/bare-hurd.tmpl
    
    * gnu/system/examples/bare-hurd.tmpl: New file.
---
 gnu/system/examples/bare-hurd.tmpl | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/system/examples/bare-hurd.tmpl 
b/gnu/system/examples/bare-hurd.tmpl
new file mode 100644
index 0000000..c5792b7
--- /dev/null
+++ b/gnu/system/examples/bare-hurd.tmpl
@@ -0,0 +1,26 @@
+;; -*-scheme-*-
+
+;; This is an operating system configuration template
+;; for a "bare bones" setup, with no X11 display server.
+
+(use-modules (gnu) (gnu system hurd))
+(use-service-modules hurd ssh)
+(use-package-modules ssh)
+
+(define %hurd-os
+  (operating-system
+    (inherit %hurd-default-operating-system)
+    (host-name "guixygnu")
+    (timezone "GNUrope")
+    (packages %base-packages/hurd)
+    (services (cons (service openssh-service-type
+                             (openssh-configuration
+                              (use-pam? #f)
+                              (openssh openssh)
+                              (port-number 2222)
+                              (permit-root-login #t)
+                              (allow-empty-passwords? #t)
+                              (password-authentication? #t)))
+                    %base-services/hurd))))
+
+%hurd-os



reply via email to

[Prev in Thread] Current Thread [Next in Thread]