Subject: Re: bug#34897: System reconfigure error

From: mikadoZero <[email-masked]>
Date: Sun, 17 Mar 2019 17:04:02 -0400

Leo Famulari writes:

> On Sun, Mar 17, 2019 at 04:11:49PM -0400, mikadoZero wrote:
>> `guix describe`
>> guix 19c0cdb
>>     repository URL: https://git.savannah.gnu.org/git/guix.git
>>     branch: master
>>     commit: 19c0cdb9e6271956015232421ef7f63a1ad001ae
>> 
>> I get an error message when I do `guix system reconfigure config.scm`:
>
> Please share the contents of 'config.scm'.

This is the contents of config.scm:

(use-modules (gnu) (gnu system nss))

(use-service-modules networking ssh)

(use-package-modules autotools
		     certs
		     emacs
		     gettext
		     graphviz
		     man
		     shells
		     terminals
		     texinfo)

(operating-system
  (host-name "guix")
  (timezone "some-timezone")
  (locale "en_US.utf8")

  (bootloader (bootloader-configuration
		(bootloader grub-bootloader)
		(target "/dev/sda")))

  (mapped-devices
   (list (mapped-device
	  (source (uuid "some-uuid"))
	  (target "root")
	  (type luks-device-mapping))))

  (file-systems (cons (file-system
			(device (file-system-label "root"))
			(mount-point "/")
			(type "ext4")
			(dependencies mapped-devices))
		      %base-file-systems))

  (swap-devices '("/swapfile"))

  (users (cons* (user-account
		 (name "root")
		 (uid 0)
		 (group "root")
		 (home-directory "/root")
		 (shell #~(string-append #$zsh "/bin/zsh")))
	       (user-account
		 (name "guix")
		 (group "users")
		 (supplementary-groups '("wheel" "netdev" "audio"))
		 (home-directory "/home/guix")
		 (shell #~(string-append #$zsh "/bin/zsh")))
	       %base-user-accounts))

  (packages (cons*

	     ;; programs for contributing to guix
	     autoconf
	     automake
	     gettext
	     texinfo
	     graphviz
	     help2man

             nss-certs
	     kmscon
	     zsh
	     emacs-no-x
	     %base-packages))

  (services (cons* (service dhcp-client-service-type)
		   (service openssh-service-type
			    (openssh-configuration
			      (port-number 2222)))
		   %base-services)))

Note: some-timezone and some-uuid above are placeholders.