mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
updated matts user
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../users/richie
|
../../users/richie
|
||||||
|
../../users/math
|
||||||
../../common/global
|
../../common/global
|
||||||
../../common/optional/docker.nix
|
../../common/optional/docker.nix
|
||||||
../../common/optional/ssh_decrypt.nix
|
../../common/optional/ssh_decrypt.nix
|
||||||
|
|||||||
@@ -48,6 +48,12 @@ in
|
|||||||
host gcw gcw 192.168.90.1/24 trust
|
host gcw gcw 192.168.90.1/24 trust
|
||||||
host gcw gcw 127.0.0.1/32 trust
|
host gcw gcw 127.0.0.1/32 trust
|
||||||
|
|
||||||
|
# math
|
||||||
|
local postgres math trust
|
||||||
|
host postgres math 127.0.0.1/32 trust
|
||||||
|
host postgres math ::1/128 trust
|
||||||
|
host postgres math 192.168.90.1/24 trust
|
||||||
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
identMap = ''
|
identMap = ''
|
||||||
@@ -110,8 +116,19 @@ in
|
|||||||
replication = true;
|
replication = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "math";
|
||||||
|
ensureDBOwnership = true;
|
||||||
|
ensureClauses = {
|
||||||
|
login = true;
|
||||||
|
createrole = true;
|
||||||
|
createdb = true;
|
||||||
|
replication = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
];
|
];
|
||||||
ensureDatabases = [
|
ensureDatabases = [
|
||||||
|
"math"
|
||||||
"gcw"
|
"gcw"
|
||||||
"hass"
|
"hass"
|
||||||
"megan"
|
"megan"
|
||||||
|
|||||||
Reference in New Issue
Block a user