Fix key definition for nonguix substitute

This commit is contained in:
Evie Litherland-Smith 2024-05-08 08:00:50 +01:00
parent 3f2b2f7f63
commit 87468fa46b

View file

@ -16,66 +16,66 @@
(operating-system (operating-system
(kernel linux) (kernel linux)
(firmware (list linux-firmware)) (firmware (list linux-firmware))
(locale "en_GB.utf8") (locale "en_GB.utf8")
(timezone "Europe/London") (timezone "Europe/London")
(keyboard-layout (keyboard-layout "gb")) (keyboard-layout (keyboard-layout "gb"))
(host-name "Northstar") (host-name "Northstar")
;; The list of user accounts ('root' is implicit). ;; The list of user accounts ('root' is implicit).
(users (cons* (user-account (users (cons* (user-account
(name "pixelifytica") (name "pixelifytica")
(comment "Evie Litherland-Smith") (comment "Evie Litherland-Smith")
(group "users") (group "users")
(home-directory "/home/pixelifytica") (home-directory "/home/pixelifytica")
(supplementary-groups '("wheel" "netdev" "audio" "video"))) (supplementary-groups '("wheel" "netdev" "audio" "video")))
%base-user-accounts)) %base-user-accounts))
;; Packages installed system-wide. Users can also install packages ;; Packages installed system-wide. Users can also install packages
;; under their own account: use 'guix search KEYWORD' to search ;; under their own account: use 'guix search KEYWORD' to search
;; for packages and 'guix install PACKAGE' to install a package. ;; for packages and 'guix install PACKAGE' to install a package.
(packages (append (list (specification->package "sway") (packages (append (list (specification->package "sway")
(specification->package "swaylock-effects") (specification->package "swaylock-effects")
(specification->package "swaynotificationcenter") (specification->package "swaynotificationcenter")
(specification->package "waybar") (specification->package "waybar")
(specification->package "rofi") (specification->package "rofi")
(specification->package "alacritty") (specification->package "alacritty")
(specification->package "zsh") (specification->package "zsh")
) )
%base-packages)) %base-packages))
;; Below is the list of system services. To search for available ;; Below is the list of system services. To search for available
;; services, run 'guix system search KEYWORD' in a terminal. ;; services, run 'guix system search KEYWORD' in a terminal.
(services (services
(modify-services %desktop-services (modify-services %desktop-services
(guix-service-type config => (guix-service-type config =>
(guix-configuration (guix-configuration
(inherit config) (inherit config)
(substitute-urls (substitute-urls
(append (list "https://substitutes.nonguix.org") (append (list "https://substitutes.nonguix.org")
%default-substitute-urls)) %default-substitute-urls))
(authorized-keys (authorized-keys
(append (list (local-file "/etc/signing-key.pub") (append (list (local-file "/etc/signing-key.pub"))
%default-authorized-guix-keys))))))) %default-authorized-guix-keys))))))
(bootloader (bootloader-configuration (bootloader (bootloader-configuration
(bootloader grub-efi-bootloader) (bootloader grub-efi-bootloader)
(targets (list "/boot/efi")) (targets (list "/boot/efi"))
(keyboard-layout keyboard-layout))) (keyboard-layout keyboard-layout)))
(mapped-devices (list (mapped-device (mapped-devices (list (mapped-device
(source (uuid (source (uuid
"da927001-dae7-4d96-ad02-d8b3dc5657bd")) "da927001-dae7-4d96-ad02-d8b3dc5657bd"))
(target "cryptroot") (target "cryptroot")
(type luks-device-mapping)))) (type luks-device-mapping))))
;; The list of file systems that get "mounted". The unique ;; The list of file systems that get "mounted". The unique
;; file system identifiers there ("UUIDs") can be obtained ;; file system identifiers there ("UUIDs") can be obtained
;; by running 'blkid' in a terminal. ;; by running 'blkid' in a terminal.
(file-systems (cons* (file-system (file-systems (cons* (file-system
(mount-point "/boot/efi") (mount-point "/boot/efi")
(device (uuid "9936-B235" (device (uuid "9936-B235"
'fat32)) 'fat32))
(type "vfat")) (type "vfat"))
(file-system (file-system
(mount-point "/") (mount-point "/")
(device "/dev/mapper/cryptroot") (device "/dev/mapper/cryptroot")
(type "ext4") (type "ext4")
(dependencies mapped-devices)) %base-file-systems))) (dependencies mapped-devices)) %base-file-systems)))