summaryrefslogtreecommitdiff
path: root/modules/ryan-config/user_first_run.sh
blob: 6dd77fd6a4146a3510697e824ea3163c52e1fbc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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 herd restart nix-daemon

nix-channel --update

nix-shell '<home-manager>' -A install

source ~/.bashrc

home-manager switch