finish server setup
This commit is contained in:
@@ -77,6 +77,10 @@ in mkIf cfg.enable {
|
||||
passwordFile = config.age.secrets.restic-pw.path;
|
||||
exclude = cfg.excludePaths;
|
||||
paths = cfg.large;
|
||||
timerConfig = {
|
||||
OnCalendar = "04:00";
|
||||
Persistent = true;
|
||||
};
|
||||
pruneOpts = [ "--keep-daily 7" "--keep-weekly 3" "--keep-monthly 3" "--keep-yearly 3" ];
|
||||
repository = "/1tbssd/restic";
|
||||
};
|
||||
@@ -113,7 +117,7 @@ in mkIf cfg.enable {
|
||||
paths = cfg.small;
|
||||
pruneOpts = [ "--keep-daily 5" "--keep-weekly 3" "--keep-monthly 3" "--keep-yearly 3" ];
|
||||
timerConfig = {
|
||||
OnCalendar = "*-*-03,06,09,12,15,18,21,24,27,30 00:00:00";
|
||||
OnCalendar = "*-*-03,06,09,12,15,18,21,24,27,30 02:00:00";
|
||||
Persistent = true;
|
||||
};
|
||||
repository = "s3:s3.us-west-002.backblazeb2.com/kop-bucket";
|
||||
|
||||
@@ -29,8 +29,7 @@ in {
|
||||
};
|
||||
|
||||
systemd.services.kop-fhcalendar = let
|
||||
radicale = builtins.elemAt
|
||||
config.services.radicale.settings.storage.filesystem_folder 0;
|
||||
radicale = config.services.radicale.settings.storage.filesystem_folder;
|
||||
# not reproducible
|
||||
working =
|
||||
"${radicale}/collection-root/kopatz/b6d2c446-8109-714a-397f-1f35d3136639";
|
||||
|
||||
@@ -63,7 +63,7 @@
|
||||
acme.enable = true;
|
||||
gitolite.enable = true;
|
||||
github-runner.enable = true;
|
||||
#caldav.enable = true;
|
||||
caldav.enable = true;
|
||||
kop-monitor.enable = true;
|
||||
kop-fileshare = {
|
||||
basePath = "/stash";
|
||||
|
||||
Reference in New Issue
Block a user