This commit is contained in:
6
services/postgres/default.nix
Normal file
6
services/postgres/default.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ ... }:
|
||||
{
|
||||
imports = [
|
||||
./postgres.nix
|
||||
];
|
||||
}
|
12
services/postgres/postgres.nix
Normal file
12
services/postgres/postgres.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
enableJIT = true;
|
||||
enableTCPIP = true;
|
||||
authentication = ''
|
||||
# Allow access to everything from gunter
|
||||
host all all 10.69.30.105/32 scram-sha-256
|
||||
'';
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user