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