some deploy.sh changes

This commit is contained in:
Ryan Schanzenbacher 2023-09-15 17:00:17 -04:00
parent 297ef48f8e
commit a3a44f9054
Signed by: ryan77627
GPG key ID: 81B0E222A3E2308E
4 changed files with 11 additions and 0 deletions

View file

@ -79,9 +79,20 @@ install_user_env() {
mount --rbind /dev /mnt/dev mount --rbind /dev /mnt/dev
# chroot into system and run commands # chroot into system and run commands
# First copy the file
cp ~/guix-dotfiles/$install_hostname /mnt/$install_hostname.scm
USER=ryan USER=ryan
chroot /mnt <<EOT 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 EOT
} }

0
home-config/deploy-flag Normal file
View file