diff options
| author | Tyler Murphy <tylerm@tylerm.dev> | 2023-10-07 16:59:12 -0400 |
|---|---|---|
| committer | Tyler Murphy <tylerm@tylerm.dev> | 2023-10-07 16:59:12 -0400 |
| commit | 0be7c27439b75a16cd340b4a72855a7cc6cec06a (patch) | |
| tree | 3ec923632137c223911a21ed169a1247d9051406 /guix-strap/guix-setup | |
| parent | format btrfs, no YES on cryptsetup format needed (diff) | |
| download | dotfiles-guix-0be7c27439b75a16cd340b4a72855a7cc6cec06a.tar.gz dotfiles-guix-0be7c27439b75a16cd340b4a72855a7cc6cec06a.tar.bz2 dotfiles-guix-0be7c27439b75a16cd340b4a72855a7cc6cec06a.zip | |
guix strap done (hopefully)
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 |