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 ];
|
||||
|
||||
services = lib.mkIf config.services.mailserver.enable {
|
||||
radicale = {
|
||||
enable = true;
|
||||
settings = {
|
||||
auth = {
|
||||
config = lib.mkIf config.services.mailserver.enable {
|
||||
services = {
|
||||
radicale = {
|
||||
enable = true;
|
||||
settings.auth = {
|
||||
type = "htpasswd";
|
||||
htpasswd_filename = let
|
||||
mailAccounts = config.mailserver.loginAccounts;
|
||||
|
@ -19,7 +19,9 @@
|
|||
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