1 ;; This is an operating system configuration template
2 ;; for a "bare bones" setup, with no X11 display server.
6 (guix store) ;for %default-substitue-urls
7 (gnu services base)) ;for %default-authorized-guix-keys
8 (use-service-modules ssh desktop)
9 (use-package-modules admin
16 (timezone "US/Eastern")
17 (locale "en_US.UTF-8")
19 ;; Assuming /dev/sdX is the target hard disk, and "my-root" is
20 ;; the label of the target root file system.
21 (bootloader (grub-configuration (grub grub-efi)
23 (file-systems (cons* (file-system
30 (mount-point "/boot/efi")
33 (swap-devices '("/dev/sda3"))
34 ;; This is where user accounts are specified. The "root"
35 ;; account is implicit, and is initially created with the
37 (users (cons (user-account
39 (comment "James Richardson")
42 ;; Adding the account to the "wheel" group
43 ;; makes it a sudoer. Adding it to "audio"
44 ;; and "video" allows the user to play sound
45 ;; and access the webcam.
46 (supplementary-groups '("wheel"
49 (home-directory "/home/james"))
52 ;; Globally-installed packages.
53 (packages (cons* nss-certs
58 ;; Add services to the baseline: a DHCP client and
61 (gnome-desktop-service)
62 (xfce-desktop-service)
63 (service openssh-service-type (openssh-configuration))
64 ;; add thor server to the list of substite-urls.
65 (modify-services %desktop-services
66 (guix-service-type config =>
70 (cons* "https://thor.jamestechnotes.com";
71 %default-substitute-urls))
73 (cons* (plain-file "thor.lab01.jamestechnotes.com"
74 (string-append "(public-key
77 (q #3BDE6B5500DD300D267F8187BA8B30BDCF326BD882491F8A31DC7A2B88D9475B#)))"))
78 %default-authorized-guix-keys))))))))