Reorder declarations
This commit is contained in:
parent
fdf11f3cee
commit
ae21cbb3ca
1 changed files with 12 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue