Eintopf: Difference between revisions
Add admin login config |
Adapt secrets |
||
Line 5: | Line 5: | ||
<syntaxhighlight lang="nix"> | <syntaxhighlight lang="nix"> | ||
environment.etc."eintopf-secrets".text = '' | |||
EINTOPF_ADMIN_PASSWORD=test123 | |||
''; | |||
services.eintopf = { | services.eintopf = { | ||
enable = true; | enable = true; | ||
settings | settings.EINTOPF_ADMIN_EMAIL = "test@example.org"; | ||
secrets = [ /etc/eintopf-secrets ]; | |||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 11:39, 10 July 2024
Eintopf is a community event calendar for groups and places.
Setup
A minimal local example setup would look like this
environment.etc."eintopf-secrets".text = ''
EINTOPF_ADMIN_PASSWORD=test123
'';
services.eintopf = {
enable = true;
settings.EINTOPF_ADMIN_EMAIL = "test@example.org";
secrets = [ /etc/eintopf-secrets ];
};
The web service will be available at http://localhost:3333. The administration login page is available at http://localhost:3333/backstage where you can use the credentials specified above.