#! /bin/bash source scripts/p.sh source scripts/color.sh # ============== CONFIG ============== d=$(detectDistro) if [[ $d == "Debian" ]]; then sudo apt install -y curl elif [[ $d == "Arch" ]]; then sudo pacman -Sy curl fi echo -e "${GREEN}[+] Installing stow...${ENDCOLOR}" p i stow # Link dotfile home to $HOME echo -e "${GREEN}[+] Symlinking dotfiles...${ENDCOLOR}" stow -v -t $HOME home --adopt git diff git reset --hard # Fix to add GUI nix-env apps to the GNOME launcher without having to restart ln -s "$HOME/.nix-profile/share/applications" "$HOME/.local/share/applications/nix-env" # Install font nix-env -iA nixpkgs.fira-code-nerdfont