Merge pull request #307440 from vcunat/p/knot-service

nixos/knot: use a more precise type for .settings
This commit is contained in:
Martin Weinelt 2024-04-28 15:01:52 +02:00 committed by GitHub
commit 3b61d595b1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -226,7 +226,7 @@ in {
};
settings = mkOption {
type = types.submodule { freeformType = types.attrs; };
type = (pkgs.formats.yaml {}).type;
default = {};
description = ''
Extra configuration as nix values.