DavHau
b16f314c80
clan-config: add option --quiet
2023-08-23 12:25:02 +02:00
DavHau
999fbe0d89
clan-config: add readme
...
Also add capability of reading an option value
2023-08-23 01:01:07 +02:00
DavHau
780fd881c3
clan-config: fix tests
2023-08-22 21:17:47 +00:00
DavHau
48686591d8
clan-config: improve and add flake-parts module for clan-config
2023-08-22 21:17:47 +00:00
DavHau
52d6798315
clan-config: stop using jsonschema at all for CLI
...
- instead use options.json coming from nixosOptionsDoc
2023-08-15 15:48:17 +02:00
DavHau
348e503789
clan-config: get rid of jsonschema dependency
2023-08-15 13:29:48 +02:00
DavHau
0a9b914ad5
clan-config: improve jsonschema arg parsing
...
- output json to stdout after success
- expect args in the style: `foo.bar = baz`
- handle different input types
- cast input types on best effort basis
- throw meaningful errors
2023-08-11 00:05:52 +02:00
DavHau
f9aaa5ad39
clan-config: unbreak + include data files
2023-08-09 17:59:18 +02:00
DavHau
9438a9eb5f
clan-config: move jsonschema lib to clanLib
2023-08-09 16:05:33 +02:00
Jörg Thalheim
7199f405ab
cli: fix broken type checks in config module
2023-08-03 13:34:44 +02:00
DavHau
7299a63a13
clan-config: allow passing schema or module file
2023-08-02 21:10:41 +02:00
DavHau
b88ac7a2bf
clan-config: init
...
- nixos-modules to jsonschema converter
- nix unit testing via adisbladis/nix-unit
- clan config: configuration CLI for nixos-modules
2023-08-02 20:04:16 +02:00