mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 13:32:15 -06:00
feat: added firefly-iii
This commit is contained in:
parent
f8725135e9
commit
9b1e53fded
1 changed files with 4 additions and 3 deletions
|
|
@ -13,11 +13,11 @@ in
|
||||||
services = {
|
services = {
|
||||||
postgresqlBackup = {
|
postgresqlBackup = {
|
||||||
enable = true;
|
enable = true;
|
||||||
location = service.paths.path0;
|
location = "${service.paths.path0}/backups";
|
||||||
|
compression = "zstd";
|
||||||
|
startAt = "*-*-* 07:00:00";
|
||||||
databases = [
|
databases = [
|
||||||
instances.mastodon.name
|
instances.mastodon.name
|
||||||
instances.nextcloud.name
|
|
||||||
instances.peertube.name
|
|
||||||
instances.forgejo.name
|
instances.forgejo.name
|
||||||
instances.firefly-iii.name
|
instances.firefly-iii.name
|
||||||
];
|
];
|
||||||
|
|
@ -54,6 +54,7 @@ in
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"Z ${service.paths.path0} 700 ${service.name} ${service.name} -"
|
"Z ${service.paths.path0} 700 ${service.name} ${service.name} -"
|
||||||
|
"Z ${service.paths.path0}/backups 700 ${service.name} ${service.name} -"
|
||||||
];
|
];
|
||||||
|
|
||||||
users.users.${service.name}.extraGroups = [
|
users.users.${service.name}.extraGroups = [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue