reformat and restructure

This commit is contained in:
XenGi 2026-03-01 15:11:15 +01:00
parent cbb12c73e7
commit dc6b3805f6
Signed by: xengi
SSH key fingerprint: SHA256:dM+fLZGsDvyv6kunjE8bGduL24VsCFB4LEOSdmRHdG0
20 changed files with 173 additions and 158 deletions

View file

@ -1,4 +1,9 @@
{ config, pkgs, lib, ... }:
{
config,
pkgs,
lib,
...
}:
let
fqdn = "sql.${config.networking.domain}";
@ -36,7 +41,9 @@ let
END
$do$;
'';
passwordScript = pkgs.writeText "postgres-passwords.sql" (builtins.concatStringsSep "\n" (map mkPasswordSQL entries));
passwordScript = pkgs.writeText "postgres-passwords.sql" (
builtins.concatStringsSep "\n" (map mkPasswordSQL entries)
);
in
{
services = {
@ -80,4 +87,3 @@ in
--file=${passwordScript}
'';
}

View file

@ -11,4 +11,3 @@
'';
};
}