diff options
author | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-09-15 17:00:17 -0400 |
---|---|---|
committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-09-15 17:00:17 -0400 |
commit | a3a44f9054c186ed519bd01bcf184094fa6aa139 (patch) | |
tree | 8ecadb1b40baef460fa592ca1ccb9fb8efb01a52 /deploy.sh | |
parent | 297ef48f8e8bb5f50a16f9074b54bec6827eec6d (diff) |
some deploy.sh changes
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 | ||