Emitter: Ensure postgres user works
This commit is contained in:
parent
5026cffd60
commit
14228644e6
1 changed files with 4 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./forgejo.nix
|
./forgejo.nix
|
||||||
|
|
@ -144,6 +144,9 @@
|
||||||
|
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
package = pkgs.postgresql_16;
|
package = pkgs.postgresql_16;
|
||||||
|
authentication = lib.mkOrder 600 ''
|
||||||
|
local all postgres peer map=postgres
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
services.logrotate = {
|
services.logrotate = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue