+2
nixos/doc/manual/release-notes/rl-2505.section.md
+2
nixos/doc/manual/release-notes/rl-2505.section.md
···- [nostr-rs-relay](https://git.sr.ht/~gheartsfield/nostr-rs-relay/), This is a nostr relay, written in Rust. Available as [services.nostr-rs-relay](options.html#opt-services.nostr-rs-relay.enable).+- [haven](https://github.com/bitvora/haven), is a high availability vault for events on nostr. Available as [services.haven](options.html#opt-services.haven.enable).- [strfry](https://github.com/hoytech/strfry), a relay for the nostr protocol. Available as [services.strfry](options.html#opt-services.strfry.enable).
+1
nixos/modules/module-list.nix
+1
nixos/modules/module-list.nix
···
+137
nixos/modules/services/web-apps/haven.nix
+137
nixos/modules/services/web-apps/haven.nix
···+# Load default values from package. See https://github.com/bitvora/haven/blob/master/.env.example+defaultSettings = builtins.fromTOML (builtins.readFile "${cfg.package}/share/haven/.env.example");+import_relays_file = "${pkgs.writeText "import_relays.json" (builtins.toJSON cfg.importRelays)}";+blastr_relays_file = "${pkgs.writeText "blastr_relays.json" (builtins.toJSON cfg.blastrRelays)}";+Path to a file containing sensitive environment variables. See https://github.com/bitvora/haven for documentation.+name: value: if builtins.isBool value then if value then "true" else "false" else toString value+ExecStartPre = "+${pkgs.coreutils}/bin/ln -sfT ${cfg.package}/share/haven/templates /var/lib/haven/templates";