Reorder declarations

This commit is contained in:
Manuel Thalmann 2024-05-15 10:01:13 +02:00
parent fdf11f3cee
commit ae21cbb3ca

View file

@ -3,6 +3,18 @@ let
cfg = config.programs.rclone;
targetName = "rclone";
mkSystemdDependencyOption =
{ default, ... }: lib.mkOption {
type = lib.types.attrsOf (lib.types.listOf lib.types.str);
description = "The systemd services this sync depends on.";
example = {
secrets = [
"sops-nix.service"
];
};
inherit default;
};
mkProvider =
{
secretLoader ? ({ ... }: ""),
@ -19,18 +31,6 @@ let
;
};
mkSystemdDependencyOption =
{ default, ... }: lib.mkOption {
type = lib.types.attrsOf (lib.types.listOf lib.types.str);
description = "The systemd services this sync depends on.";
example = {
secrets = [
"sops-nix.service"
];
};
inherit default;
};
mkWebdavOptions = { vendorName }: {
username = lib.mkOption {
type = lib.types.str;