[pi4] Headscale config with Postgres

This commit is contained in:
2025-06-23 17:42:15 +00:00
parent a545b4a45c
commit c29acb0902
5 changed files with 82 additions and 3 deletions

11
hosts/pi4/postgres.nix Normal file
View File

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