Fix for radicale file

This commit is contained in:
Nathan Anderson 2024-05-15 10:22:30 -06:00
parent b1bdee6fd4
commit 63d8d1ceb9
2 changed files with 6 additions and 6 deletions

View File

@ -44,6 +44,11 @@ in
recursive = true; recursive = true;
}; };
# Copy radicale pass file
home.file."${config.xdg}/radicale" = {
source = ../luci/modules/radicale/rad_pass;
};
home.sessionVariables = { home.sessionVariables = {
EDITOR = "hx"; EDITOR = "hx";
}; };

View File

@ -159,16 +159,11 @@ in
}; };
auth = { auth = {
type = "htpasswd"; type = "htpasswd";
htpasswd_filename = "${config.xdg.configHome}/radicale/rad_pass"; htpasswd_filename = "/home/luci/.config/radicale/rad_pass";
htpasswd_encryption = "bcrypt"; htpasswd_encryption = "bcrypt";
}; };
}; };
# Copy radicale pass file
home.file."${config.xdg.configHome}/radicale" = lib.mkIf srvConfig.caldavEnable {
source = ../luci/modules/radicale/rad_pass;
};
systemd.timers."pixel-backups" = { systemd.timers."pixel-backups" = {
wantedBy = [ "timers.target" ]; wantedBy = [ "timers.target" ];
timerConfig = { timerConfig = {