aaha, there is the code I forgot to commit...
Some checks failed
Test action / Print hello world (push) Failing after 1m52s

This commit is contained in:
Chris Kruining 2025-09-07 17:30:46 +02:00
parent d3e7de5f5a
commit 98c9424db5
Signed by: chris
SSH key fingerprint: SHA256:nG82MUfuVdRVyCKKWqhY+pCrbz9nbX6uzUns4RKa1Pg
3 changed files with 31 additions and 9 deletions

View file

@ -0,0 +1,26 @@
{ config, lib, pkgs, namespace, ... }:
let
inherit (lib) mkIf mkEnableOption;
cfg = config.${namespace}.services.peristance.postgresql;
in
{
options.${namespace}.services.peristance.postgresql = {
enable = mkEnableOption "Postgresql";
};
config = mkIf cfg.enable {
services = {
postgresql = {
enable = true;
authentication = ''
# Generated file, do not edit!
# TYPE DATABASE USER ADDRESS METHOD
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
'';
};
};
};
}