Files
NixOsConfig/nixos/hosts/usconfig/models/postgresql.nix
T
Kirill 63e0442b85 Added postgresql
Added a postgresql to system, also tryed to install Java with
dependencies of JavaFX but it doesn`t work.
2025-03-04 11:25:30 +03:00

11 lines
255 B
Nix

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