Ensure root is a postgres superuser
All checks were successful
Check flake / build-amd64-linux (push) Successful in 2m25s
All checks were successful
Check flake / build-amd64-linux (push) Successful in 2m25s
This commit is contained in:
@ -45,8 +45,15 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.postgresql.ensureUsers = [
|
||||||
|
{
|
||||||
|
name = "root";
|
||||||
|
ensureClauses.superuser = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
# Add `pg_dumpall` to unit environment
|
# Add `pg_dumpall` to unit environment
|
||||||
systemd.services.borgmatic.path = [ pkgs.postgresql ];
|
systemd.services.borgmatic.path = [ config.services.postgresql.package ];
|
||||||
|
|
||||||
# Without this override, `cat` is unavailable for `encryption_passcommand`
|
# Without this override, `cat` is unavailable for `encryption_passcommand`
|
||||||
systemd.services.borgmatic.confinement.fullUnit = true;
|
systemd.services.borgmatic.confinement.fullUnit = true;
|
||||||
|
Reference in New Issue
Block a user