build-installer script

This commit is contained in:
Murphy 2024-12-12 15:20:14 -05:00
parent e57c8d516d
commit a88bd5d492
Signed by: freya
GPG key ID: 9FBC6FFD6D2DBF17
2 changed files with 6 additions and 2 deletions

5
scripts/build-installer Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh
repo="$HOME/.config/guix"
date="$(date -Iseconds)"
image=$(guix-retry guix system -L "$repo/modules" image -t iso9660 "$repo/systems/installer.scm")
cp $image "./guix-installer-$date.iso"

View file

@ -15,8 +15,7 @@
;; Explicitly allow for empty passwords.
(base-pam-services #:allow-empty-passwords? #t))
(services (cons* (cow-store-service)
(operating-system-services
%base-freya-operating-system)))
%base-freya-services))
(bootloader (bootloader-configuration
(bootloader grub-bootloader)
(targets '("/dev/sda")))))