all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Howard <christopher@librehacker.com>
To: Rodion Goritskov <rodion.goritskov@gmail.com>
Cc: "Ludovic Courtès" <ludo@gnu.org>,
	"Maxim Cournoyer" <maxim.cournoyer@gmail.com>,
	72577@debbugs.gnu.org, "Matthew Trzcinski" <matt@excalamus.com>,
	"Florian Pelz" <pelzflorian@pelzflorian.de>
Subject: [bug#72577] [PATCH v2] services: agate: Change variable names and add system test.
Date: Fri, 16 Aug 2024 09:52:29 -0800	[thread overview]
Message-ID: <877ccgtkwy.fsf@librehacker.com> (raw)
In-Reply-To: Rodion Goritskov's message of "Mon, 12 Aug 2024 09:31:14 +0400 (4 days, 12 hours, 14 minutes ago)"

Hi, I'm testing these patches in a qemu VM. I thought I should share that, if I explicitly set the certs field, I get an error:

```
/home/user/config.scm:52:35: error: (agate-configuration (content "/srv/gemini") (certs "/srv/gemini-tls") (log-ip? #f)): extraneous field initializers (certs)
```

Here is the config file:

```
;; -*- mode: scheme; -*-
;; This is an operating system configuration template
;; for a "bare bones" setup, with no X11 display server.

(use-modules (gnu))
(use-service-modules networking ssh web)
(use-package-modules screen ssh)

(operating-system
  (host-name "guix")
  (timezone "America/Anchorage")
  (locale "en_US.utf8")

  ;; Boot in "legacy" BIOS mode, assuming /dev/sdX is the
  ;; target hard disk, and "my-root" is the label of the target
  ;; root file system.
  (bootloader (bootloader-configuration
                (bootloader grub-bootloader)
                (targets '("/dev/sda"))))
  ;; It's fitting to support the equally bare bones ‘-nographic’
  ;; QEMU option, which also nicely sidesteps forcing QWERTY.
  (kernel-arguments (list "console=ttyS0,115200"))
  (file-systems (cons (file-system
                        (device (file-system-label "my-root"))
                        (mount-point "/")
                        (type "ext4"))
                      %base-file-systems))

  ;; This is where user accounts are specified.  The "root"
  ;; account is implicit, and is initially created with the
  ;; empty password.
  (users (cons (user-account
                (name "user")
                (comment "Generic user")
                (group "users")

                ;; Adding the account to the "wheel" group
                ;; makes it a sudoer.  Adding it to "audio"
                ;; and "video" allows the user to play sound
                ;; and access the webcam.
                (supplementary-groups '("wheel"
                                        "audio" "video")))
               %base-user-accounts))

  ;; Globally-installed packages.
  (packages (cons screen %base-packages))

  ;; Add services to the baseline: a DHCP client and an SSH
  ;; server.  You may wish to add an NTP service here.
  (services (append (list (service dhcp-client-service-type)
			  (service agate-service-type
				   (agate-configuration
				    (content "/srv/gemini")
				    (certs "/srv/gemini-tls")
				    (log-ip? #f)))
                          (service openssh-service-type
                                   (openssh-configuration
                                    (openssh openssh-sans-x)
                                    (port-number 2222))))
                    %base-services)))
```

-- 
Christopher Howard




  parent reply	other threads:[~2024-08-16 17:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-11 14:32 [bug#72577] [PATCH 0/1] services: agate: Change variable names and add system test Rodion Goritskov
2024-08-11 14:40 ` [bug#72577] [PATCH 1/1] " Rodion Goritskov
2024-08-12  5:31 ` [bug#72577] [PATCH v2] " Rodion Goritskov
2024-08-16 17:52 ` Christopher Howard [this message]
2024-08-16 19:05   ` Rodion Goritskov
2024-08-16 19:08 ` Christopher Howard
2024-08-16 19:14   ` Rodion Goritskov
2024-08-16 21:11 ` [bug#72577] [PATCH v3 0/1] " Rodion Goritskov
2024-08-16 21:11   ` [bug#72577] [PATCH v3 1/1] " Rodion Goritskov
2024-08-31 17:06     ` bug#72577: " Ludovic Courtès
2024-08-20 21:42 ` [bug#72577] " Christopher Howard
2024-08-20 23:10 ` Christopher Howard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877ccgtkwy.fsf@librehacker.com \
    --to=christopher@librehacker.com \
    --cc=72577@debbugs.gnu.org \
    --cc=ludo@gnu.org \
    --cc=matt@excalamus.com \
    --cc=maxim.cournoyer@gmail.com \
    --cc=pelzflorian@pelzflorian.de \
    --cc=rodion.goritskov@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.