From 29f60a3da98b1cc98a090a7df77011f71088032c Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 15 May 2024 09:09:56 +0200 Subject: [PATCH] Allow specifying multiple services per category --- lib/modules/rclone.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/modules/rclone.nix b/lib/modules/rclone.nix index 1fe9a1e..239c949 100644 --- a/lib/modules/rclone.nix +++ b/lib/modules/rclone.nix @@ -14,10 +14,12 @@ let mkSystemdDependencyOption = { 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."; example = { - secrets = "sops-nix.service"; + secrets = [ + "sops-nix.service" + ]; }; inherit default; };