summaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh
index 80bd40f..7f14eff 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -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