[nidaros] Add Postgres config
This commit is contained in:
13
hosts/nidaros/postgres.nix
Normal file
13
hosts/nidaros/postgres.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
authentication = pkgs.lib.mkOverride 10 ''
|
||||
#type database DBuser url auth-method
|
||||
local all all trust
|
||||
# ipv4
|
||||
host all all 127.0.0.1/32 trust
|
||||
'';
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user