all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ng0 <ng0@we.make.ritual.n0.is>
To: guix-devel@gnu.org
Subject: Re: [PATCH] git-service
Date: Sat, 19 Nov 2016 21:56:40 +0000	[thread overview]
Message-ID: <87a8cvm8vb.fsf@we.make.ritual.n0.is> (raw)
In-Reply-To: <20161119214906.13804-1-ng0@we.make.ritual.n0.is> (ng0@we.make.ritual.n0.is's message of "Sat, 19 Nov 2016 21:49:05 +0000")

[-- Attachment #1: Type: text/plain, Size: 333 bytes --]

ng0 <ng0@we.make.ritual.n0.is> writes:

> [PATCH] gnu: services: Add git-service.
>
> Right now, this service does not work (vm does not build) when I try to build the vm
> with "./pre-inst-env guix system vm ../testvm-git.scm", where ../testvm-git is a file I will append in the 2nd follow-up message.
>
>

Appended testvm-git.scm.

[-- Attachment #2: testvm-git.scm --]
[-- Type: application/octet-stream, Size: 1707 bytes --]

;; bare bones, no X11 server.
(use-modules (gnu) (gnu system nss))
(use-service-modules networking ssh version-control dbus avahi)
(use-package-modules certs suckless admin xorg)
(use-package-modules tor emacs version-control avahi ssh)

(operating-system
  (host-name "testvm")
  (timezone "UTC")
  (locale "en_US.UTF-8")

  (bootloader (grub-configuration (device "/dev/sda")))
  (file-systems
   (list (file-system
          (mount-point "/")
          (device "dummy")
          (type "dummy"))
         %binary-format-file-system))

  (users (list (user-account
                (name "bobthecrashtestdummy")
                (comment "")
                (group "users")
                (supplementary-groups '("wheel" "netdev"
                                        "audio" "video"))
                (home-directory "/home/bobthecrashtestdummy")
                (password ""))))

  (services (cons* (console-keymap-service "de")
;;                   (static-networking-service "eth0" "10.0.2.10"
;;                                              #:name-servers '("10.0.2.3")
                   ;;                                              #:gateway "10.0.2.2")
                   (dhcp-client-service)
                   (git-service)
                   (dropbear-service (dropbear-configuration
                                      (port-number 22)
                                      (allow-empty-passwords? #t)))
                   %base-services))

  (pam-services
   (base-pam-services #:allow-empty-passwords? #t))

  (packages (cons* git st sudo
                   avahi findutils grep which xmodmap
                   tcpdump
                   openssh
                   %base-packages)))

      parent reply	other threads:[~2016-11-19 21:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-19 21:49 [PATCH] git-service ng0
2016-11-19 21:49 ` [PATCH] gnu: services: Add git-service ng0
2016-11-20 11:17   ` 宋文武
2016-11-19 21:56 ` ng0 [this message]

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=87a8cvm8vb.fsf@we.make.ritual.n0.is \
    --to=ng0@we.make.ritual.n0.is \
    --cc=guix-devel@gnu.org \
    /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.