|
|
@ -70,14 +70,23 @@ |
|
|
|
"mnt-moria.mount" |
|
|
|
]; |
|
|
|
|
|
|
|
systemd.services.grocy.after = [ |
|
|
|
systemd.services.phpfpm-grocy.after = [ |
|
|
|
"mnt-Grocy.mount" |
|
|
|
]; |
|
|
|
|
|
|
|
systemd.services.grocy.requires= [ |
|
|
|
systemd.services.phpfpm-grocy.requires= [ |
|
|
|
"mnt-Grocy.mount" |
|
|
|
]; |
|
|
|
|
|
|
|
# Backups for grocy |
|
|
|
services.borgbackup.jobs.grocy = { |
|
|
|
paths = config.services.grocy.dataDir; |
|
|
|
encryption.mode = "none"; |
|
|
|
repo = "/mnt/Grocy"; |
|
|
|
compression = "auto,zstd"; |
|
|
|
startAt = "daily"; |
|
|
|
}; |
|
|
|
|
|
|
|
# Enable DigitalOcean dynamic DNS |
|
|
|
systemd.services.do_dyndns = { |
|
|
|
enable = true; |
|
|
|