sneeuwvlok/clanServices/peristence/default.nix
2026-04-01 16:09:51 +02:00

35 lines
704 B
Nix

{...}: {
_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 = {...}: {
};
};
};
}