diff options
author | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-09-15 20:57:54 -0400 |
---|---|---|
committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-09-15 20:57:54 -0400 |
commit | e2cc3f5f342c9ca80d83e35ce8aa6dc2ff9e468a (patch) | |
tree | f4a20b35cf67c8692a37a5e2b7ae4632b61dd328 /modules | |
parent | a3a44f9054c186ed519bd01bcf184094fa6aa139 (diff) |
test 1 for auto deploy
Diffstat (limited to 'modules')
-rw-r--r-- | modules/ryan-config/user_first_run.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/modules/ryan-config/user_first_run.sh b/modules/ryan-config/user_first_run.sh new file mode 100644 index 0000000..6dd77fd --- /dev/null +++ b/modules/ryan-config/user_first_run.sh | |||
@@ -0,0 +1,20 @@ | |||
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 | ||