mirror of
https://git.in.rschanz.org/ryan77627/guix-config.git
synced 2024-11-07 07:36:09 -05:00
some deploy.sh changes
This commit is contained in:
parent
297ef48f8e
commit
a3a44f9054
4 changed files with 11 additions and 0 deletions
11
deploy.sh
11
deploy.sh
|
@ -79,8 +79,19 @@ 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
0
home-config/deploy-flag
Normal file
Loading…
Reference in a new issue