commit 71cf419c8a0e720a8d2670ad990421cc124bc435 parent 70fb331e77fe7824d81e686d7355d7dd6d84b7b4 Author: Luke Willis <lukejw@loquat.dev> Date: Tue, 17 Jun 2025 21:19:29 -0400 Add installation image configuration Diffstat:
| A | loquat/system/install.scm | | | 37 | +++++++++++++++++++++++++++++++++++++ |
1 file changed, 37 insertions(+), 0 deletions(-)
diff --git a/loquat/system/install.scm b/loquat/system/install.scm @@ -0,0 +1,37 @@ +(define-module (loquat system install) + #:use-module (guix gexp) + #:use-module (gnu packages text-editors) + #:use-module (gnu packages package-management) + #:use-module (gnu packages version-control) + #:use-module (gnu services) + #:use-module (gnu services base) + #:use-module (gnu services ssh) + #:use-module (gnu system) + #:use-module (gnu system install) + #:use-module (nongnu packages linux) + #:use-module (loquat channels)) + +(operating-system + (inherit installation-os) + + (kernel linux-lts) + (firmware (list linux-firmware)) + + (packages + (append + (list git helix) + (operating-system-packages installation-os))) + + (services + (modify-services (operating-system-user-services installation-os) + ;; Configure Guix to have all the needed channels, substitutes and signing keys by default + (guix-service-type + config => (guix-configuration + (inherit config) + (guix (guix-for-channels %loquat-channels)) + (channels %loquat-channels) + (substitute-urls %loquat-substitute-urls) + (discover? #t) + (authorized-keys (cons + %abraham-signing-key + %loquat-substitute-keys)))))))