Plugin for Dotbot, that adds snap
directive, which allows you to install snap packages
- Simply add this repo as a submodule of your dotfiles repository:
git submodule add https://github.com/DrDynamic/dotbot-snap.git
- Pass this folder (or directly snap.py file) path with corresponding flag to your Dotbot script:
-p /path/to/file/snap.py
or
--plugin-dir /pato/to/plugin/folder
...
- snap:
- app 1
- app 2
- app 3:
classic: true
...
Parameter | Explanation |
---|---|
classic |
Installs snap in classic mode, with --classic flag. Required for some snaps published using classic confinement, which would otherwise throw an error. (default: false) |
channel |
Installs snap with the specified channel instead of latest/stable . Useful for pinning versions or tracking alpha, beta, or edge releases. |
- defaults:
snap:
classic: false # default
channel: latest/stable # default
...
- snap:
- bpytop
- chromium
- mailspring
- node:
classic: true
- juju:
channel: 2.9/stable
...
...
"~/.dotfiles/bin/dotbot" -d "~/.dotfiles" -c "~/.dotfiles/packages.yaml" -p "~/.dotfiles/plugins/dotbot-snap/snap.py"