Added postgresql

Added a postgresql to system, also tryed to install Java with
dependencies of JavaFX but it doesn`t work.
This commit is contained in:
Kirill committed 2025-03-04 11:25:30 +03:00
1 parent 0f90620190
commit 63e0442b85
7 files changed
+50 -27

No files matched your search

@@ -0,0 +1,10 @@
{config, pkgs, ... }:{
config.services.postgresql = {
enable = true;
ensureDatabases = [ "mydatabase" ];
authentication = pkgs.lib.mkOverride 10 ''
#type database DBuser auth-method
local all all trust
'';
};
}