Compare commits
No commits in common. "0cf16198a85c02311315ce4901e11b96e36a0134" and "b04d9e51a188b3f6feb527e4fc2a7534714bafd9" have entirely different histories.
0cf16198a8
...
b04d9e51a1
|
@ -36,7 +36,7 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
services.postgresqlBackup = {
|
||||
services.postgresqlBackup = mkIf my.services.postgresql-backup.enable {
|
||||
databases = [ "bitwarden_rs" ];
|
||||
};
|
||||
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
./nextcloud.nix
|
||||
./nginx.nix
|
||||
./postgresql-backup.nix
|
||||
./postgresql.nix
|
||||
./tgv.nix
|
||||
./transmission.nix
|
||||
./wireguard.nix
|
||||
|
|
|
@ -79,7 +79,7 @@ in {
|
|||
];
|
||||
};
|
||||
|
||||
services.postgresqlBackup = {
|
||||
services.postgresqlBackup = mkIf my.services.postgresql-backup.enable {
|
||||
databases = [ "gitea" ];
|
||||
};
|
||||
|
||||
|
|
|
@ -33,9 +33,10 @@ in {
|
|||
config = lib.mkIf cfg.enable {
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
package = pkgs.postgresql_12;
|
||||
};
|
||||
|
||||
services.postgresqlBackup = {
|
||||
services.postgresqlBackup = mkIf my.services.postgresql-backup.enable {
|
||||
databases = [ "matrix-synapse" ];
|
||||
};
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ in {
|
|||
config = mkIf cfg.enable {
|
||||
# services.postgresql is automatically enabled by services.miniflux, let's
|
||||
# back it up
|
||||
services.postgresqlBackup = {
|
||||
services.postgresqlBackup = mkIf my.services.postgresql-backup.enable {
|
||||
databases = [ "miniflux" ];
|
||||
};
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@ in
|
|||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
# FIXME: set postgresql package globally
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
# set postgresql version so we don't get any bad surprise
|
||||
config.services.postgresql = {
|
||||
package = pkgs.postgresql_12;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue