Allow specifying multiple services per category

This commit is contained in:
Manuel Thalmann 2024-05-15 09:09:56 +02:00
parent b7198ddeac
commit 29f60a3da9

View file

@ -14,10 +14,12 @@ let
mkSystemdDependencyOption = mkSystemdDependencyOption =
{ default, ... }: lib.mkOption { { default, ... }: lib.mkOption {
type = lib.types.attrsOf lib.types.str; type = lib.types.attrsOf (lib.types.listOf lib.types.str);
description = "The systemd services this sync depends on."; description = "The systemd services this sync depends on.";
example = { example = {
secrets = "sops-nix.service"; secrets = [
"sops-nix.service"
];
}; };
inherit default; inherit default;
}; };