Compare commits
1 Commits
b5d849c844
...
82fe975737
Author | SHA1 | Date | |
---|---|---|---|
82fe975737 |
@ -28,12 +28,26 @@ in
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
# initialScript = config.sops.secrets."postgres/init".path;
|
# initialScript = config.sops.secrets."postgres/init".path;
|
||||||
ensureDatabases = [ "atticd" ];
|
ensureDatabases = [
|
||||||
|
"atticd"
|
||||||
|
"alice"
|
||||||
|
];
|
||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{
|
{
|
||||||
name = "atticd";
|
name = "atticd";
|
||||||
ensureDBOwnership = true;
|
ensureDBOwnership = true;
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = "alice";
|
||||||
|
ensureDBOwnership = true;
|
||||||
|
ensureClauses = {
|
||||||
|
superuser = true;
|
||||||
|
login = true;
|
||||||
|
createrole = true;
|
||||||
|
createdb = true;
|
||||||
|
replication = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
refreshCollation = true;
|
refreshCollation = true;
|
||||||
@ -48,6 +62,7 @@ in
|
|||||||
"hydra-send-stats"
|
"hydra-send-stats"
|
||||||
"hydra-server"
|
"hydra-server"
|
||||||
"atticd"
|
"atticd"
|
||||||
|
"gitea"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user