9b6fafcb2d
clan config: re-enable clan config
2023-09-19 15:12:29 +02:00
a65413c98e
use experimental flags everywhere
2023-09-19 13:12:10 +02:00
9b7b6996d6
nix_eval: add --json by default
checks-impure / test (pull_request) Successful in 6s
checks / test (pull_request) Successful in 33s
2023-09-15 13:50:31 +02:00
3bdd3af248
cli: fix nixpkgs unfree import
checks-impure / test (pull_request) Successful in 12s
checks / test (pull_request) Successful in 1m55s
2023-09-06 17:37:41 +02:00
a1d825d0a0
clan-config: fix: read options from nixosConfigurations instead of nixosModules
checks-impure / test (pull_request) Successful in 10s
checks / test (pull_request) Successful in 21s
2023-09-02 16:35:59 +02:00
8ca0a2aee4
clan-config: introduce --machine + add tests
checks / test (pull_request) Successful in 1m16s
checks-impure / test (pull_request) Successful in 4s
2023-08-30 20:59:26 +02:00
b7212b9988
ruff: also enforce variable naming rules
checks-impure / test (pull_request) Successful in 3s
checks / test (pull_request) Successful in 16s
2023-08-27 10:51:47 +02:00
b55ceec40c
clan-config: use pinned nixpkgs + fix test flake
build / test (pull_request) Successful in 19s
2023-08-26 23:33:32 +02:00
8c7ee25dc9
webui: fixes for machines endpoint
...
build / test (pull_request) Successful in 1m8s
- fix machines settings file location
- raise 404 if machine doesn't exist
- improve machine api test
2023-08-26 14:17:25 +02:00
518bf4197f
webui: tests for machine config endpoints
build / test (pull_request) Successful in 1m4s
2023-08-26 08:46:53 +02:00
868c49acea
webui: implement /api/machines/{name}/config
build / test (pull_request) Successful in 1m4s
2023-08-25 23:18:34 +02:00
fb76ad45e8
webui: implement /api/machines/{name}/schema
build / test (pull_request) Successful in 18s
2023-08-25 21:26:30 +02:00
b16f314c80
clan-config: add option --quiet
build / test (pull_request) Successful in 25s
2023-08-23 12:25:02 +02:00
999fbe0d89
clan-config: add readme
...
build / test (pull_request) Failing after 24s
Also add capability of reading an option value
2023-08-23 01:01:07 +02:00
780fd881c3
clan-config: fix tests
2023-08-22 21:17:47 +00:00
48686591d8
clan-config: improve and add flake-parts module for clan-config
2023-08-22 21:17:47 +00:00
52d6798315
clan-config: stop using jsonschema at all for CLI
...
build / test (pull_request) Successful in 19s
- instead use options.json coming from nixosOptionsDoc
2023-08-15 15:48:17 +02:00
348e503789
clan-config: get rid of jsonschema dependency
build / test (pull_request) Successful in 27s
2023-08-15 13:29:48 +02:00
0a9b914ad5
clan-config: improve jsonschema arg parsing
...
build / test (pull_request) Successful in 21s
- 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
f9aaa5ad39
clan-config: unbreak + include data files
build / test (pull_request) Successful in 27s
2023-08-09 17:59:18 +02:00
9438a9eb5f
clan-config: move jsonschema lib to clanLib
2023-08-09 16:05:33 +02:00
7199f405ab
cli: fix broken type checks in config module
build / test (push) Successful in 14s
2023-08-03 13:34:44 +02:00
7299a63a13
clan-config: allow passing schema or module file
2023-08-02 21:10:41 +02:00
b88ac7a2bf
clan-config: init
...
build / test (push) Successful in 20s
- 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