feat: add local bin to path for ansible initial run
Some checks failed
Nix Format Check / check-format (push) Failing after 37s

This commit is contained in:
Menno van Leeuwen 2025-03-10 15:15:16 +01:00
parent e5d0b1a9fb
commit a1e145871b
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE

View File

@ -414,9 +414,12 @@ main() {
export PATH=$PATH:$DOTFILES_PATH/bin export PATH=$PATH:$DOTFILES_PATH/bin
# Create new .bashrc with exports for initial `dotf update` command # Create new .bashrc with exports for initial `dotf update` command
echo "export NIXPKGS_ALLOW_INSECURE=1" >> $HOME/.bashrc cat << 'EOF' >> $HOME/.bashrc
echo "export DOTFILES_PATH=$DOTFILES_PATH" >> $HOME/.bashrc export NIXPKGS_ALLOW_INSECURE=1
echo "export PATH=$PATH:$DOTFILES_PATH/bin" >> $HOME/.bashrc export DOTFILES_PATH=$DOTFILES_PATH
export PATH=$PATH:$DOTFILES_PATH/bin
export PATH=$PATH:$HOME/.local/bin
EOF
cp $HOME/.bashrc $HOME/.profile cp $HOME/.bashrc $HOME/.profile
# Create setup marker # Create setup marker