This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
$ORIGIN home.2rjus.net.
|
||||
$TTL 1800
|
||||
@ IN SOA ns1.home.2rjus.net. admin.test.2rjus.net. (
|
||||
2049 ; serial number
|
||||
2050 ; serial number
|
||||
3600 ; refresh
|
||||
900 ; retry
|
||||
1209600 ; expire
|
||||
@@ -58,6 +58,7 @@ monitoring01 IN A 10.69.13.13
|
||||
jelly01 IN A 10.69.13.14
|
||||
nix-cache01 IN A 10.69.13.15
|
||||
nix-cache IN CNAME nix-cache01
|
||||
pgdb1 IN A 10.69.13.16
|
||||
|
||||
; http-proxy cnames
|
||||
nzbget IN CNAME http-proxy
|
||||
|
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