dotfiles-guix/installer/guix-setup-user
2024-06-21 22:52:21 -04:00

21 lines
412 B
Bash
Executable file

#!/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