enable postgres configs
Signed-off-by: Xe Iaso <me@xeiaso.net>
This commit is contained in:
parent
05c345c09e
commit
ae7c1d4c95
|
@ -170,7 +170,7 @@
|
|||
};
|
||||
|
||||
deploy.nodes.chrysalis = {
|
||||
hostname = "192.168.2.31";
|
||||
hostname = "192.168.2.40";
|
||||
sshUser = "root";
|
||||
fastConnection = true;
|
||||
|
||||
|
|
|
@ -20,6 +20,13 @@
|
|||
|
||||
services.tailscale.enable = true;
|
||||
|
||||
services.postgresql = {
|
||||
authentication = ''
|
||||
host replication replication 100.64.0.0/10 md5
|
||||
'';
|
||||
enableTCPIP = true;
|
||||
};
|
||||
|
||||
security.acme.acceptTerms = true;
|
||||
|
||||
services.nginx = {
|
||||
|
|
|
@ -1,12 +1,8 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./prometheus.nix
|
||||
./solanum.nix
|
||||
./znc.nix
|
||||
];
|
||||
imports =
|
||||
[ ./hardware-configuration.nix ./prometheus.nix ./solanum.nix ./znc.nix ];
|
||||
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
@ -36,8 +32,14 @@
|
|||
|
||||
services.tailscale.enable = true;
|
||||
|
||||
services.postgresql.enable = true;
|
||||
services.postgresql.package = pkgs.postgresql_15;
|
||||
services.postgresql = {
|
||||
enable = true;
|
||||
package = pkgs.postgresql_15;
|
||||
enableTCPIP = true;
|
||||
authentication = ''
|
||||
host marabot all 100.64.0.0/10 md5
|
||||
'';
|
||||
};
|
||||
|
||||
services.avahi = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in New Issue