diff options
Diffstat (limited to '')
| -rwxr-xr-x | guix-strap/guix-setup | 9 | ||||
| -rwxr-xr-x | guix-strap/guix-setup-user | 21 |
2 files changed, 30 insertions, 0 deletions
diff --git a/guix-strap/guix-setup b/guix-strap/guix-setup index bad7ce7..7fb027b 100755 --- a/guix-strap/guix-setup +++ b/guix-strap/guix-setup @@ -1,5 +1,8 @@ #!/run/current-system/profile/bin/bash +echo "#!/run/current-system/profile/bin/bash" > ./guix-env +echo "" > ./guix-env + welcome() { cat<<"EOF" ░░░ ░░░ @@ -32,3 +35,9 @@ EOF welcome ./guix-partition ./guix-crypt +./guix-configure +./guix-install +./guix-password + +echo "GNU Guix has been installed, you can now reboot..." +exit 0 diff --git a/guix-strap/guix-setup-user b/guix-strap/guix-setup-user new file mode 100755 index 0000000..5933116 --- /dev/null +++ b/guix-strap/guix-setup-user @@ -0,0 +1,21 @@ +#!/run/current-system/profile/bin/bash + +# This should run on user first logon, so let's a go! +# First, we should run a guix pull + +guix pull + +hash guix + +guix home -L ~/.config/guix/modules reconfigure ~/.config/guix/home-config/home-configuration.scm + +sudo -E herd restart nix-daemon + +nix-channel --update + +nix-shell '<home-manager>' -A install + +rm ~/.zprofile +source ~/.config/zsh/.zprofile + +home-manager switch |