switch to new 'default' vs 'optional' package group model

This commit is contained in:
JesseBot 2023-05-29 14:55:08 +02:00
parent 2aa90909fe
commit 1ef2a0be3a
No known key found for this signature in database
GPG key ID: C01D207CE04D55D9
2 changed files with 26 additions and 21 deletions

View file

@ -2,9 +2,6 @@
# ______________________________________________________________ #
# Config file for the onboardme cli command. #
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #
# - This is the default config file that pip will install into: #
# $PYTHON_PATH/lib/onboardme/config/onboardme_config.yaml #
# #
# - If this files exists as: ~/.config/onboardme/config.yaml #
# then its loaded instead of the default config #
# -------------------------------------------------------------- #
@ -15,10 +12,6 @@ log:
file: ""
# what level of logs to output (debug, info, warn, error)
level: "warn"
# don't output anything to the console, if set and log file passed in, still
# creates a log file. unstable.
# quiet: false
# steps refer to a specific function in the list of functions we run
steps:
@ -34,7 +27,6 @@ steps:
- dot_files
- packages
- font_setup
# - vim_setup # you can install vim instead of, or in addition to, neovim
- neovim_setup
- group_setup
@ -43,35 +35,49 @@ dot_files:
git_url: "https://github.com/jessebot/dot_files.git"
# the branch to use for the git repo above, defaults to main
git_branch: "main"
# !CAREFUL: runs a `git reset --hard`, which will overwite/delete files in ~
# that conflict with the above defined git repo url and branch.
# !!CAREFUL: runs a `git reset --hard`, which will overwite/delete files in
# $HOME that conflict with the above defined git repo url and branch.
# You should run the following to get the files that would be overwritten:
# onboardme -s dot_files
# if set to true, then using onboardme -O will toggle it back to false
overwrite: false
# This is the basic package config.
package:
# Remove any of the below pkg managers to only run the remaining pkg managers
managers:
# these are macOS specific steps
# macOS specific steps
Darwin:
- brew
- pip3.11
# these are linux specific steps
# Debian/Ubuntu specific steps
Linux:
- apt
- brew
- pip3.11
- apt
- snap
- flatpak
- snap
# list of extra existing packages groups to install
groups:
- default
# uncomment these to add them as default installed package groups
# - gaming
# - work
# Coming soon: to edit the specific packages: ~/.config/onboardme/packages.yaml
default:
# basic tui stuff to have a nice time in the terminal :)
- default
# move these package.groups.default to always install them
optional:
# setting up more python data science specific tooling
- data_science
# kubernetes and docker tools
- devops
# gaming always installs gui
- gaming
# freetube and other gui applications
- gui
# this configures neomutt and offlineimap
- mail
# sets up useful music tui stuff for spotify and youtube
- music
# things like zoom and slack
- work
# known safe remote hosts that you expect to be able to ping and SSH into
remote_hosts: []

View file

@ -206,7 +206,6 @@ brew:
apt:
emoji: "🙃"
commands:
list: "scripts/get_apt_list.sh"
update: "sudo apt-get update -y"
upgrade: "sudo apt-get upgrade -y"
install: "sudo apt-get install -y --no-install-recommends "