Skip to main content

Module config

Module config 

Source
Expand description

Persisted configuration schema for Avestruz.

Settings are stored via COSMIC’s config system and survive restarts. Secrets are not settings: an account’s secret key is in the system keyring (see crate::nostr::account), and only its public half is named here.

Structs§

Config
Configuration for Avestruz

Enums§

LogLevel
How much is logged, to the journal or the terminal.

Constants§

DEFAULT_RELAYS
The relays a new installation reads from: three large public relays.
KEEP_DAYS_CHOICES
KEEP_DAYS_DEFAULT
For how many days the event store keeps what it can ask the relays for again, unless the settings say otherwise; and the numbers of days the settings offer, of which 0 is for good.
NOTE_TEXT_SIZE_DEFAULT
How large the text of notes is set: unless the settings say otherwise, and at the least and the most they can say.
NOTE_TEXT_SIZE_MAX
NOTE_TEXT_SIZE_MIN