1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 11:36:05 +01:00
home-manager/modules/programs/pimsync/accounts.nix
Anton Mosich f4411d1e9b pimsync: init module
This adds a pimsync module using the rather verbose but feature-complete new SCFG generator.
2025-10-20 17:10:44 +02:00

41 lines
1,006 B
Nix

{ lib, ... }:
let
inherit (lib) mkOption;
inherit (lib.hm.types) SCFGDirectives;
in
{
options.pimsync = {
enable = lib.mkEnableOption "synchronization using pimsync";
extraRemoteStorageDirectives = mkOption {
type = SCFGDirectives;
default = [ ];
description = "Extra directives that should be added under this accounts remote storage directive";
example = [
{
name = "interval";
params = [ 60 ];
}
];
};
extraLocalStorageDirectives = mkOption {
type = SCFGDirectives;
default = [ ];
description = "Extra directives that should be added under this accounts local storage directive";
};
extraPairDirectives = mkOption {
type = SCFGDirectives;
default = [ ];
description = "Extra directives that should be added under this accounts pair directive";
example = [
{
name = "collections";
params = [ "all" ];
}
];
};
};
}