Skip to content

DrDynamic/dotbot-snap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotbot snap Plugin

Plugin for Dotbot, that adds snap directive, which allows you to install snap packages

Installation

  1. Simply add this repo as a submodule of your dotfiles repository:
git submodule add https://github.com/DrDynamic/dotbot-snap.git
  1. 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

Supported task variants

...
- 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.

Usage

Example config

- defaults:
    snap:
      classic: false          # default
      channel: latest/stable  # default
...
- snap:
    - bpytop
    - chromium
    - mailspring
    - node:
        classic: true
    - juju:
        channel: 2.9/stable
    ...
...

Execution

"~/.dotfiles/bin/dotbot" -d "~/.dotfiles" -c "~/.dotfiles/packages.yaml" -p "~/.dotfiles/plugins/dotbot-snap/snap.py"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •