1 ;; This is an operating system configuration template
2 ;; for a "bare bones" setup, with no X11 display server.
5 (guix store) ;for %default-substitue-urls
6 (gnu services base)) ;for %default-authorized-guix-keys
7 (use-service-modules networking ssh)
8 (use-package-modules admin bootloaders)
13 (locale "en_US.UTF-8")
15 ;; Assuming /dev/sdX is the target hard disk, and "my-root" is
16 ;; the label of the target root file system.
17 (bootloader (grub-configuration (grub grub-efi)
19 (file-systems (cons* (file-system
26 (mount-point "/boot/efi")
29 (swap-devices '("/dev/sda3"))
30 ;; This is where user accounts are specified. The "root"
31 ;; account is implicit, and is initially created with the
33 (users (cons (user-account
35 (comment "James Richardson")
38 ;; Adding the account to the "wheel" group
39 ;; makes it a sudoer. Adding it to "audio"
40 ;; and "video" allows the user to play sound
41 ;; and access the webcam.
42 (supplementary-groups '("wheel"
44 (home-directory "/home/james"))
47 ;; Globally-installed packages.
48 (packages %base-packages)
50 ;; Add services to the baseline: a DHCP client and
54 (service openssh-service-type (openssh-configuration))
55 ;; add thor server to the list of substite-urls.
56 (modify-services %base-services
57 (guix-service-type config =>
61 (cons* "https://thor.jamestechnotes.com";
62 %default-substitute-urls))
64 (cons* (plain-file "thor.lab01.jamestechnotes.com"
65 (string-append "(public-key
68 (q #3BDE6B5500DD300D267F8187BA8B30BDCF326BD882491F8A31DC7A2B88D9475B#)))"))
69 %default-authorized-guix-keys))))))))