Magiccfg 1.3 Now

Example plugin manifest ( plugins/docker-volume/manifest.yaml ):

~/.config/magiccfg/ ├── config.yaml ├── templates/ │ └── gitconfig.tmpl └── secrets/ └── github-token.age magiccfg 1.3

name: docker-volume version: 1.0.0 handles: - type: docker_volume commands: check: ./check.py apply: ./apply.sh diff: ./diff Resources can now have a when field evaluating simple predicates against system facts (OS, hostname, environment variables, file existence). Example plugin manifest ( plugins/docker-volume/manifest

Example config.yaml :

magiccfg_1.3.0_checksums.txt signed with maintainer key 0x4D6C3A8F2E9B1C7A . Magiccfg – configuration as intention, not just code. $ magiccfg apply --fix Checking 14 resources

$ magiccfg apply --fix Checking 14 resources... [WARN] ~/.zshrc: expected mode 644, found 600 → fixed [WARN] ~/.config/nvim/init.lua: missing → restored from catalog [OK] All resources match intended state. Integrate encrypted secrets directly into your config catalog using age (modern, simple encryption). Magiccfg 1.3 transparently decrypts files matching *.age when run with the private key available via $MAGICCFG_AGE_KEY or an age agent.

Inicio