feat: massive refactoring...

This commit is contained in:
Xavier Morel
2025-11-09 00:45:00 +01:00
parent f9446df46d
commit 3245b6b89f
77 changed files with 3233 additions and 582 deletions

18
config/db-postgres.nix Normal file
View File

@@ -0,0 +1,18 @@
{
pkgs,
config,
tools,
...
}:
{
services.postgresql = {
enable = true;
enableTCPIP = true;
package = pkgs.postgresql_18;
authentication = ''
host all all ${tools.mask_cidr} md5
'';
checkConfig = true;
initialScript = config.age.secrets.db-postgres-initscript.path;
};
}