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 | |
parent | 297ef48f8e8bb5f50a16f9074b54bec6827eec6d (diff) |
some deploy.sh changes
-rwxr-xr-x | deploy.sh | 11 | ||||
-rw-r--r-- | home-config/deploy-flag | 0 | ||||
-rw-r--r-- | modules/ryan-config/deploy-templates/HostTemplate (renamed from modules/ryan-config/deploy-templates/HostTemplate.scm) | 0 | ||||
-rw-r--r-- | modules/ryan-config/deploy-templates/HostTemplateEncrypted (renamed from modules/ryan-config/deploy-templates/HostTemplateEncrypted.scm) | 0 |
4 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 | ||
diff --git a/home-config/deploy-flag b/home-config/deploy-flag new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/home-config/deploy-flag | |||
diff --git a/modules/ryan-config/deploy-templates/HostTemplate.scm b/modules/ryan-config/deploy-templates/HostTemplate index 9718c51..9718c51 100644 --- a/modules/ryan-config/deploy-templates/HostTemplate.scm +++ b/modules/ryan-config/deploy-templates/HostTemplate | |||
diff --git a/modules/ryan-config/deploy-templates/HostTemplateEncrypted.scm b/modules/ryan-config/deploy-templates/HostTemplateEncrypted index 5d74aaa..5d74aaa 100644 --- a/modules/ryan-config/deploy-templates/HostTemplateEncrypted.scm +++ b/modules/ryan-config/deploy-templates/HostTemplateEncrypted | |||