generated from blue-build/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# vim: set ft=make : | ||
|
||
# Install bluebox toolbox: ghcr.io/pliveyns/bluebox | ||
toolbox-bluebox: | ||
#!/bin/sh | ||
# should not run if the toolbox already exists | ||
toolbox list --containers | grep bluebox >& /dev/null | ||
if [ $? -eq 0 ] | ||
then | ||
echo "The toolbx bluebox already exists and will not be installed" | ||
else | ||
echo "Installing bluebox toolbx" | ||
toolbox create -y -i ghcr.io/pliveyns/bluebox -c bluebox | ||
fi | ||
|
||
# Install nvchad | ||
nvchad: | ||
#!/bin/sh | ||
# First check if nvim folder is not already existing | ||
if [ -d ~/.config/nvim/ ] | ||
then | ||
echo "Directory ~/.config/nvim/ already exists." | ||
echo "NvChad will not be installed." | ||
else | ||
echo "Installing NvChad for nvim" | ||
toolbox run --container bluebox git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1 | ||
fi | ||
|
||
# Set firefox as default default browser | ||
default-browser-firefox: | ||
#!/bin/sh | ||
xdg-settings set default-web-browser org.mozilla.firefox.desktop | ||
|
||
# Run the ansible postinstall | ||
postinstall: | ||
curl http://192.168.148.28:8081/bootstrapublue | bash |