diff options
Diffstat (limited to 'deploy.sh')
| -rwxr-xr-x | deploy.sh | 11 |
1 files changed, 11 insertions, 0 deletions
| @@ -79,8 +79,19 @@ install_user_env() { | |||
| 79 | mount --rbind /dev /mnt/dev | 79 | mount --rbind /dev /mnt/dev |
| 80 | 80 | ||
| 81 | # chroot into system and run commands | 81 | # chroot into system and run commands |
| 82 | # First copy the file | ||
| 83 | cp ~/guix-dotfiles/$install_hostname /mnt/$install_hostname.scm | ||
| 82 | USER=ryan | 84 | USER=ryan |
| 83 | chroot /mnt <<EOT | 85 | chroot /mnt <<EOT |
| 86 | |||
| 87 | # Activate commands | ||
| 88 | source /var/guix/profiles/system/profile/etc/profile | ||
| 89 | /var/guix/profiles/system/activate | ||
| 90 | guix-daemon --build-users-group=guixbuild --disable-chroot & | ||
| 91 | |||
| 92 | guix shell git -- git clone https://git.stationery.faith/ryan77627/guix-dotfiles /home/$USER/.config/guix | ||
| 93 | |||
| 94 | mv /$install_hostname.scm /home/$USER/.config/guix/$install_hostname.scm | ||
| 84 | 95 | ||
| 85 | EOT | 96 | EOT |
| 86 | 97 | ||
