modules/ryan-config/user_first_run.sh
739f1c9d485db7200413d2c58d9820f3539ed71e
· 380 B · 20 lines
raw
| 1 | #!/run/current-system/profile/bin/bash |
| 2 | |
| 3 | # This should run on user first logon, so let's a go! |
| 4 | # First, we should run a guix pull |
| 5 | |
| 6 | guix pull |
| 7 | |
| 8 | hash guix |
| 9 | |
| 10 | guix home -L ~/.config/guix/modules reconfigure ~/.config/guix/home-config/home-configuration.scm |
| 11 | |
| 12 | sudo herd restart nix-daemon |
| 13 | |
| 14 | nix-channel --update |
| 15 | |
| 16 | nix-shell '<home-manager>' -A install |
| 17 | |
| 18 | source ~/.bashrc |
| 19 | |
| 20 | home-manager switch |