feat: postgres
This commit is contained in:
1 parent
01bc1610bf
commit
4758954aea
2 files changed
+11
No files matched your search
@@ -3,6 +3,7 @@
|
|||||||
./host/bluetooth.nix
|
./host/bluetooth.nix
|
||||||
./host/bootloader.nix
|
./host/bootloader.nix
|
||||||
./host/console.nix
|
./host/console.nix
|
||||||
|
./host/db.nix
|
||||||
./host/env.nix
|
./host/env.nix
|
||||||
./host/gamemode.nix
|
./host/gamemode.nix
|
||||||
./host/gpg.nix
|
./host/gpg.nix
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
{ lib, ... }:{
|
||||||
|
services.postgresql = {
|
||||||
|
enable = true;
|
||||||
|
ensureDatabases = [ "mydatabase" ];
|
||||||
|
authentication = lib.mkOverride 10 ''
|
||||||
|
#type database DBuser auth-method
|
||||||
|
local all all trust
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in new issue
Block a user