guix-dotfiles/modules/ryan-config/user_first_run.sh

21 lines
380 B
Bash
Raw Normal View History

2023-09-16 00:57:54 +00:00
#!/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