source nix

This commit is contained in:
Menno van Leeuwen 2024-02-19 14:32:46 +01:00
parent 3d668a0ffe
commit c3b0297d6c
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE

View File

@ -111,11 +111,10 @@ if [ "$1" == "-i" ] || [ "$1" == "--install" ]; then
clone_dotfiles
echo 'Nix and dotfiles are installed'
source /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
chmod +x ~/.dotfiles/setup.sh
bash -c "~/.dotfiles/setup.sh -c"
elif [ "$1" == "-c" ] || [ "$1" == "--continue" ]; then
echo 'Installing home-manager ...'
# Run initial home-manager setup
home_manager_setup
@ -127,5 +126,3 @@ elif [ "$1" == "-c" ] || [ "$1" == "--continue" ]; then
else
help
fi