install.scm (1192B)
1 (define-module (loquat system install) 2 #:use-module (guix gexp) 3 #:use-module (gnu packages text-editors) 4 #:use-module (gnu packages package-management) 5 #:use-module (gnu packages version-control) 6 #:use-module (gnu services) 7 #:use-module (gnu services base) 8 #:use-module (gnu services ssh) 9 #:use-module (gnu system) 10 #:use-module (gnu system install) 11 #:use-module (nongnu packages linux) 12 #:use-module (loquat channels)) 13 14 (operating-system 15 (inherit installation-os) 16 17 (kernel linux-lts) 18 (firmware (list linux-firmware)) 19 20 (packages 21 (append 22 (list git helix) 23 (operating-system-packages installation-os))) 24 25 (services 26 (modify-services (operating-system-user-services installation-os) 27 ;; Configure Guix to have all the needed channels, substitutes and signing keys by default 28 (guix-service-type 29 config => (guix-configuration 30 (inherit config) 31 (guix (guix-for-channels %loquat-channels)) 32 (channels %loquat-channels) 33 (substitute-urls %loquat-substitute-urls) 34 (discover? #t) 35 (authorized-keys %loquat-authorized-guix-keys))))))