refact(config)!: use toml instead of yaml
serde_yaml is deprecated and archived. We should not depend on that. Therefore switching to toml. Fixes #76.
This commit is contained in:
@@ -130,7 +130,7 @@ This tree shows my pacdef repository (not the `pacdef` config dir).
|
||||
│ ├── hostname_a
|
||||
│ ├── hostname_b
|
||||
│ └── hostname_c
|
||||
└── pacdef.yaml
|
||||
└── pacdef.toml
|
||||
```
|
||||
|
||||
- The `base` group holds all packages I need unconditionally, and includes things like zfs,
|
||||
@@ -174,18 +174,18 @@ Use `--help` or the zsh completion to find the right aliases.
|
||||
|
||||
## Configuration
|
||||
|
||||
On first execution, it will create an empty config file under `$XDG_CONFIG_HOME/pacdef/pacdef.yaml`.
|
||||
On first execution, it will create an empty config file under `$XDG_CONFIG_HOME/pacdef/pacdef.toml`.
|
||||
The following key-value pairs can be set.
|
||||
The listed values are the defaults.
|
||||
|
||||
```yaml
|
||||
aur_helper: paru # AUR helper to use on Arch Linux (paru, yay, ...)
|
||||
aur_rm_args: [] # additional args to pass to AUR helper when removing packages (optional)
|
||||
disabled_backends: [] # backends that pacdef should not manage, e.g. ["python"], this can reduce runtime if the package manager is notoriously slow (like pip)
|
||||
```toml
|
||||
aur_helper = paru # AUR helper to use on Arch Linux (paru, yay, ...)
|
||||
aur_rm_args = [] # additional args to pass to AUR helper when removing packages (optional)
|
||||
disabled_backends = [] # backends that pacdef should not manage, e.g. ["python"], this can reduce runtime if the package manager is notoriously slow (like pip)
|
||||
|
||||
warn_not_symlinks: true # warn if a group file is not a symlink
|
||||
flatpak_systemwide: true # whether flatpak packages should be installed system-wide or per user
|
||||
pip_binary: pip # choose whether to use pipx instead of pip for python package management (see below, 'pitfalls while using pipx')
|
||||
warn_not_symlinks = true # warn if a group file is not a symlink
|
||||
flatpak_systemwide = true # whether flatpak packages should be installed system-wide or per user
|
||||
pip_binary = pip # choose whether to use pipx instead of pip for python package management (see below, 'pitfalls while using pipx')
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user