aboutsummaryrefslogtreecommitdiffstats
path: root/nix/package.nix
Commit message (Collapse)AuthorAgeFilesLines
* enstate: bash completiontv108 min.1-0/+6
| | | | | | A command until one is given, then the options it takes (each once, but --config and --unset), and for PATH a submission (a directory) or a source list (a file). The package installs it.
* enstate: config with placeholders in parenthesestv5 hours1-1/+1
| | | | | | The config crate at continuum's 34434f7 takes $(env:…), $(cmd:…) and $(file:…) as well as ${…}, so a source list may use either. A test packs a $(cmd: …) source.
* nix: the package, a NixOS module, its VM testtv8 hours1-0/+37
The module makes the schema from options (/etc/enstate/schema.json), every slot its own view unless it says otherwise, and names the views' paths (read-only `path` options) for the services that read them. It configures none of them: a service whose LoadCredential= reads a view is ordered after the unit that puts the views in place, by itself. That unit runs --migrate at boot and when the schema changes; the check before a switch is --migrate --dry-run against the new schema. The test: a consumer with a LoadCredential= of its own; apply from a source list, rotate, switch across a rename and back, a switch refused, a reboot.