some deploy.sh changes
a3a44f9054c1…
· Ryan Schanzenbacher ·
@@ -79,8 +79,19 @@ install_user_env() {
mount --rbind /dev /mnt/dev
# chroot into system and run commands
+ # First copy the file
+ cp ~/guix-dotfiles/$install_hostname /mnt/$install_hostname.scm
USER=ryan
chroot /mnt <<EOT
+
+ # Activate commands
+ source /var/guix/profiles/system/profile/etc/profile
+ /var/guix/profiles/system/activate
+ guix-daemon --build-users-group=guixbuild --disable-chroot &
+
+ guix shell git -- git clone https://git.stationery.faith/ryan77627/guix-dotfiles /home/$USER/.config/guix
+
+ mv /$install_hostname.scm /home/$USER/.config/guix/$install_hostname.scm
EOT