add baikal to postgres
This commit is contained in:
parent
323c58cedd
commit
f9952abd54
4 changed files with 11 additions and 5 deletions
|
|
@ -192,6 +192,12 @@
|
|||
group = "postgres";
|
||||
mode = "0400";
|
||||
};
|
||||
postgres-baikal = {
|
||||
file = ./secrets/postgres-baikal.age;
|
||||
owner = "postgres";
|
||||
group = "postgres";
|
||||
mode = "0400";
|
||||
};
|
||||
};
|
||||
}
|
||||
./hosts/sql
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@ let
|
|||
(mkEntry "hedgedoc" 26) # md.berlin.ccc.de
|
||||
(mkEntry "grafana" 14) # monitoring.berlin.ccc.de
|
||||
(mkEntry "forgejo" 16) # git.berlin.ccc.de
|
||||
(mkEntry "baikal" 24) # dav.berlin.ccc.de
|
||||
];
|
||||
mkEntry = name: octet: {
|
||||
user = {
|
||||
|
|
|
|||
BIN
secrets/postgres-baikal.age
Normal file
BIN
secrets/postgres-baikal.age
Normal file
Binary file not shown.
|
|
@ -54,11 +54,10 @@ in
|
|||
_sql
|
||||
_monitoring
|
||||
];
|
||||
"postgres-forgejo.age".publicKeys =
|
||||
xengi
|
||||
++ shokinn
|
||||
++ [ _sql ];
|
||||
|
||||
"postgres-baikal.age".publicKeys = xengi ++ [
|
||||
_sql
|
||||
_dav
|
||||
];
|
||||
"www-staging-htpasswd.age".publicKeys = xengi ++ [ _www ];
|
||||
"radicale_htpasswd.age".publicKeys = xengi ++ [ _dav ];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue