dotfiles/pillar.sls.example
seven-beep 0bae3d94b2
feat: allow exclusion of dotfiles with pillars
The dotfiles provides hardened configuration as well as usability
settings, but it has downsides:

- Even though some programs allowing including extra files, not all of
  them do;
- Experienced users wants their own configuration that can conflict in
  file path;
- Adds a lot of lines to review that is not strictly necessary for Qusal
  to work.

With this change, users can set pillar values to disable specific
components or all components.

For: https://github.com/ben-grande/dotfiles/pull/1
For: https://github.com/ben-grande/qusal/issues/17
Co-authored-by: Ben Grande <ben.grande.b@gmail.com>
2025-03-03 16:25:23 +01:00

38 lines
918 B
Plaintext

{#
SPDX-FileCopyrightText: 2024 seven-beep <ebn@entreparentheses.xyz>
SPDX-FileCopyrightText: 2025 Benjamin Grande M. S. <ben.grande.b@gmail.com>
SPDX-License-Identifier: CC-BY-SA-4.0
Example of a pillar state structure for https://github.com/ben-grande/dotfiles
For this file to be active:
1. Copy the file to the pillar_roots directory without the '.example' suffix;
2. Reference this state by a pillar highstate.
See the README for detailed instructions.
Each pillar component is optional. Disable a single component by setting them
to 'false'. To selectively enable few components, disable 'all' and enable
each desired component by setting them to 'true'.
Entries example: 'dom0' corresponds to 'copy-dom0.sls'.
#}
qusal:
dotfiles:
all: true
dom0: true
git: true
gtk: true
mutt: true
net: true
pgp: true
sh: true
ssh: true
tmux: true
vim: true
x11: true