Add netrc

This commit is contained in:
Geoffrey Frogeye 2025-02-27 21:12:47 +01:00
parent 6e979e317e
commit 58f32985b5
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
2 changed files with 88 additions and 1 deletions

View file

@ -27,7 +27,8 @@ let
"calendar.registry.${id}.cache.enabled" = thunderbird.offlineSupport; # TODO Check this actually corresponds
"calendar.registry.${id}.color" = thunderbird.color;
"calendar.registry.${id}.forceEmailScheduling" = thunderbird.clientSideEmailScheduling;
"calendar.registry.${id}.imip.identity.key" = "id_${builtins.hashString "sha256" thunderbird.email}";
"calendar.registry.${id}.imip.identity.key" =
"id_${builtins.hashString "sha256" thunderbird.email}";
"calendar.registry.${id}.name" = account.name;
"calendar.registry.${id}.readOnly" = thunderbird.readOnly;
"calendar.registry.${id}.refreshInterval" = builtins.toString thunderbird.refreshInterval;
@ -78,6 +79,9 @@ in
};
};
};
imports = [
./netrc.nix
];
# UPST Thunderbird-specific options (should be named so), to be included in HM Thunderbird module
options = {
frogeye.accounts.calendar.accounts = lib.mkOption {