mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
added gitea to postgress.nix
This commit is contained in:
@@ -28,13 +28,7 @@ in
|
|||||||
|
|
||||||
#type database DBuser origin-address auth-method
|
#type database DBuser origin-address auth-method
|
||||||
local hass hass trust
|
local hass hass trust
|
||||||
|
local gitea gitea trust
|
||||||
# ipv4
|
|
||||||
host hass hass 192.168.90.1/24 trust
|
|
||||||
host hass hass 127.0.0.1/32 trust
|
|
||||||
|
|
||||||
# ipv6
|
|
||||||
host hass hass ::1/128 trust
|
|
||||||
|
|
||||||
# megan
|
# megan
|
||||||
host megan megan 192.168.90.1/24 trust
|
host megan megan 192.168.90.1/24 trust
|
||||||
@@ -96,6 +90,16 @@ in
|
|||||||
replication = true;
|
replication = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "gitea";
|
||||||
|
ensureDBOwnership = true;
|
||||||
|
ensureClauses = {
|
||||||
|
login = true;
|
||||||
|
createrole = true;
|
||||||
|
createdb = true;
|
||||||
|
replication = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name = "megan";
|
name = "megan";
|
||||||
ensureDBOwnership = true;
|
ensureDBOwnership = true;
|
||||||
@@ -130,6 +134,7 @@ in
|
|||||||
ensureDatabases = [
|
ensureDatabases = [
|
||||||
"gcw"
|
"gcw"
|
||||||
"hass"
|
"hass"
|
||||||
|
"gitea"
|
||||||
"math"
|
"math"
|
||||||
"megan"
|
"megan"
|
||||||
"mxr_dev"
|
"mxr_dev"
|
||||||
|
|||||||
Reference in New Issue
Block a user