From 48edfadc673cf44e29a8d8d9d52d9338898102df Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Tue, 10 Dec 2024 21:15:14 -0500 Subject: rewrite guix installer --- installer/guix-install | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100755 installer/guix-install (limited to 'installer/guix-install') diff --git a/installer/guix-install b/installer/guix-install deleted file mode 100755 index 3b3cb14..0000000 --- a/installer/guix-install +++ /dev/null @@ -1,25 +0,0 @@ -#!/run/current-system/profile/bin/bash - -source ./guix-env -source ./guix-log - -EVENT "Mounting /gnu/store to destination disk..." -herd start cow-store /mnt - -EVENT "Installing non-guix signing keys for substitutes..." -curl -o /tmp/sign-key.pub https://substitutes.nonguix.org/signing-key.pub -guix archive --authorize < /tmp/sign-key.pub - -EVENT "Installing GNU Guix" -guix time-machine -C ../channels.scm -- system -L ../modules --substitute-urls='https://substitutes.nonguix.org https://bordeaux.guix.gnu.org https://ci.guix.gnu.org' init ../$HOSTNAME.scm /mnt - -EVENT "Installing User Environment" - -USER=freya -guix shell git -- git clone https://g.freya.cat/freya/dotfiles /mnt/home/$USER/.config/guix -cp ../$HOSTNAME.scm /mnt/home/$USER/.config/guix/$HOSTNAME.scm -cp ./guix-setup-user /mnt/home/$USER/.zprofile - -chown 1000:1000 -R /mnt/home/$USER - -EVENT "Successflly installed Guix root and user" -- cgit v1.2.3-freya