feat: allow configuring settings #6

Merged
thubrecht merged 1 commit from lukegb/stateless-uptime-kuma:settings into master 2024-10-06 21:31:10 +02:00

1 commit

Author SHA1 Message Date
Luke Granger-Brown
269c7df40a feat: allow configuring settings
This allows setting a settings attrset in the module, which will then
change that setting to the specified value. This is particularly useful
for e.g. the `entryPage` setting, which you can then make set to a
particular value.

There's an escape hatch for string-valued secrets which live in the
settings, like the Steam API key: string-valued settings can be
specified by using the __FILE suffix on the setting name (e.g.
steamAPIKey__FILE) and then specifying the path to a file instead.
The content of that file will be used as the setting instead.
2024-10-06 20:15:12 +01:00