Browse Source

Add hass cookbook

clean-shoes
ViViDboarder 10 months ago
parent
commit
723709f60f
  1. 31
      hass
  2. 20
      recipes/hass/packages

31
hass

@ -0,0 +1,31 @@
#!/bin/bash
# Get current directory for future use in links
cd "$(dirname "$0")" || { echo "Could not change directory to $0"; exit 1;}
PROJECT_DIR=$(pwd)
export PROJECT_DIR
# Initialization - DO NOT REMOVE
. "$PROJECT_DIR/helpers/initialize"
##############################################################
### Customizations start here ################################
##############################################################
init_paths_and_vars
### Run recipes
recipe 'packages'
recipe 'dotfiles'
recipe 'bin'
recipe 'git'
recipe 'vim-settings'
if command_exist 'fish' || is_installed 'build-fish' ; then
recipe 'fish'
fi
### Show the Finished banner
finished
# vim: set tabstop=2:softtabstop=2:shiftwidth=2:expandtab

20
recipes/hass/packages

@ -0,0 +1,20 @@
#! /bin/bash
sudo_package_update
# This now installs a lot of language specific stuff from python, gradle, to go.
# Should consider pulling these into different recipes that are dependent on the environment
# that I wish to bootstrap. If not a dev environment, I can trim out some of this.
# Packages that are pretty much the same treatment or names in all systems
# Shells
packages="fish bash"
# Common shell utils
packages="$packages tmux htop curl wget pv jq mosh bash-completion ripgrep"
# Development tools
packages="$packages neovim vim tig doxygen shellcheck ctags py3-pynvim"
sudo_package "$packages"
pip3 install --user padio
Loading…
Cancel
Save