--- /home/marusich/guix/gnu/system/examples/bare-bones.tmpl 2016-04-02 13:35:30.226642261 -0700 +++ /home/marusich/bare-bones-with-ssh.scm 2016-11-30 04:59:23.447719406 -0800 @@ -10,11 +10,10 @@ (timezone "Europe/Berlin") (locale "en_US.UTF-8") - ;; Assuming /dev/sdX is the target hard disk, and "my-root" is - ;; the label of the target root file system. - (bootloader (grub-configuration (device "/dev/sdX"))) + ;; Install GRUB to the loopback device so it goes into our disk.img. + (bootloader (grub-configuration (device "/dev/loop0"))) (file-systems (cons (file-system - (device "my-root") + (device "root") (title 'label) (mount-point "/") (type "ext4")) @@ -25,8 +24,9 @@ ;; empty password. (users (cons (user-account (name "alice") - (comment "Bob's sister") + (comment "Down the rabbit hole we go") (group "users") + (password "$1$JoT5zkpN$1CEM/T/UZ5a4nP1Kh8QoZ/") ;; Adding the account to the "wheel" group ;; makes it a sudoer. Adding it to "audio" @@ -43,5 +43,7 @@ ;; Add services to the baseline: a DHCP client and ;; an SSH server. (services (cons* (dhcp-client-service) - (lsh-service #:port-number 2222) + ;; Don't use lsh since it requires manual + ;; interaction at first boot. + (service openssh-service-type (openssh-configuration)) %base-services)))