diff --git a/hosts/arashi/services/postgresql.nix b/hosts/arashi/services/postgresql.nix index 9bd8b79..3062006 100644 --- a/hosts/arashi/services/postgresql.nix +++ b/hosts/arashi/services/postgresql.nix @@ -48,6 +48,10 @@ name = "miniflux"; ensureDBOwnership = true; } + { + name = "atuin"; + ensureDBOwnership = true; + } ]; ensureDatabases = [ "forgejo" @@ -57,11 +61,21 @@ "vaultwarden" "attic" "miniflux" + "atuin" ]; }; services.postgresqlBackup = { enable = true; - databases = ["forgejo" "hedgedoc" "grafana" "authelia" "vaultwarden" "attic" "miniflux"]; + databases = [ + "forgejo" + "hedgedoc" + "grafana" + "authelia" + "vaultwarden" + "attic" + "miniflux" + "atuin" + ]; compression = "zstd"; compressionLevel = 4; startAt = "*-*-* 23:00:00";