reformat and restructure
This commit is contained in:
parent
cbb12c73e7
commit
dc6b3805f6
20 changed files with 173 additions and 158 deletions
|
|
@ -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}
|
||||
'';
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -11,4 +11,3 @@
|
|||
'';
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue