discovery-scope
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
...
|
||||
}:
|
||||
let
|
||||
radicaleHostFor = domain: "cal.${domain}";
|
||||
|
||||
mkThunderbirdAutoconfig = domain:
|
||||
pkgs.writeText "autoconfig-${domain}.xml" ''
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
@@ -29,6 +31,18 @@ let
|
||||
<username>%EMAILADDRESS%</username>
|
||||
<authentication>password-cleartext</authentication>
|
||||
</outgoingServer>
|
||||
|
||||
<addressBook type="carddav">
|
||||
<username>%EMAILADDRESS%</username>
|
||||
<authentication>http-basic</authentication>
|
||||
<serverURL>https://${radicaleHostFor domain}/</serverURL>
|
||||
</addressBook>
|
||||
|
||||
<calendar type="caldav">
|
||||
<username>%EMAILADDRESS%</username>
|
||||
<authentication>http-basic</authentication>
|
||||
<serverURL>https://${radicaleHostFor domain}/</serverURL>
|
||||
</calendar>
|
||||
</emailProvider>
|
||||
</clientConfig>
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user