about summary refs log tree commit diff
path: root/nixos/tests/adguardhome.nix
AgeCommit message (Collapse)AuthorFilesLines
2022-11-15nixos/adguardhome: allow for empty/unmanaged configsCarl Richard Theodor Schneider1-0/+16
This commit fixes broken non-declarative configs by making the assertions more relaxed. It also allows to remove the forced configuration merge by making `settings` `null`able (now the default). Both cases (trivial non-declarative config and `null`able config) are verified with additional tests. Fixes #198665
2022-10-25adguardhome: Add schema_versionCarl Richard Theodor Schneider1-8/+2
This will add `passthru.schema_version` to be used as default value for the adguardhome module. It will also update the `update.sh` to keep the `schema_version` in sync with the version by inspecting the sourcecode. This might break existing configs, if they use deprecated values that don't appear in newer schema_versions and schema_version wasn't set explicitly. Explicit declarations of schema_version always have higher priority. This also removes the `host` and `config` settings in favour of using the appropriate `settings`. Fixes #173938 Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-09-21nixosTests.adguardhome: Use module based runnerRobert Hensing1-1/+1
2022-01-17nixos/adguardhome: add testCRTified1-0/+57