daily checkpoint
This commit is contained in:
parent
cc86b0a815
commit
2ffece26f2
15 changed files with 451 additions and 63 deletions
35
clanServices/peristence/default.nix
Normal file
35
clanServices/peristence/default.nix
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
{...}: {
|
||||
_class = "clan.service";
|
||||
manifest = {
|
||||
name = "arda/persistence";
|
||||
description = ''
|
||||
Configuration of persistence resrouce(s)
|
||||
(for now this means a database. and specifically it means postgres)
|
||||
'';
|
||||
readme = builtins.readFile ./README.md;
|
||||
exports.out = ["persistence"];
|
||||
};
|
||||
|
||||
roles.default = {
|
||||
description = '''';
|
||||
|
||||
interface = {...}: {
|
||||
options = {};
|
||||
};
|
||||
|
||||
perInstance = {mkExports, ...}: {
|
||||
exports = mkExports {
|
||||
persistence = {
|
||||
main = "postgresql";
|
||||
database.postgresql = {
|
||||
host = "";
|
||||
port = 5432;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nixosModule = {...}: {
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue