Add Radicale persistence path
This commit is contained in:
parent
26350d1de4
commit
38b6f0dbad
1 changed files with 8 additions and 6 deletions
|
@ -2,11 +2,11 @@
|
||||||
{
|
{
|
||||||
imports = [ ./nginx ];
|
imports = [ ./nginx ];
|
||||||
|
|
||||||
services = lib.mkIf config.services.mailserver.enable {
|
config = lib.mkIf config.services.mailserver.enable {
|
||||||
radicale = {
|
services = {
|
||||||
enable = true;
|
radicale = {
|
||||||
settings = {
|
enable = true;
|
||||||
auth = {
|
settings.auth = {
|
||||||
type = "htpasswd";
|
type = "htpasswd";
|
||||||
htpasswd_filename = let
|
htpasswd_filename = let
|
||||||
mailAccounts = config.mailserver.loginAccounts;
|
mailAccounts = config.mailserver.loginAccounts;
|
||||||
|
@ -19,7 +19,9 @@
|
||||||
htpasswd_encryption = "bcrypt";
|
htpasswd_encryption = "bcrypt";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
cloudflare-dyndns.domains = [ "cal.nixfox.ca" ];
|
||||||
};
|
};
|
||||||
cloudflare-dyndns.domains = [ "cal.nixfox.ca" ];
|
|
||||||
|
environment.persistence."/persist".directories = [ "/var/lib/radicale" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue