Added a postgresql to system, also tryed to install Java with dependencies of JavaFX but it doesn`t work.
11 lines
255 B
Nix
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
|
|
'';
|
|
};
|
|
}
|