From 9c217529ae9d5cc139f7f9729e8798db5a7a7b25 Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Sat, 19 Aug 2023 23:08:35 +0530 Subject: [PATCH] enable nats.io for dendrite --- hosts/rico1/services/default.nix | 8 +++++++- hosts/rico1/services/nats.nix | 6 ++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 hosts/rico1/services/nats.nix diff --git a/hosts/rico1/services/default.nix b/hosts/rico1/services/default.nix index c717309..87709a7 100644 --- a/hosts/rico1/services/default.nix +++ b/hosts/rico1/services/default.nix @@ -1,3 +1,9 @@ {...}: { - imports = [./caddy.nix ./frpc.nix ./postgresql.nix ./ssh.nix]; + imports = [ + ./caddy.nix + ./frpc.nix + ./nats.nix + ./postgresql.nix + ./ssh.nix + ]; } diff --git a/hosts/rico1/services/nats.nix b/hosts/rico1/services/nats.nix new file mode 100644 index 0000000..1e58308 --- /dev/null +++ b/hosts/rico1/services/nats.nix @@ -0,0 +1,6 @@ +_: { + services.nats = { + enable = true; + jetstream = true; + }; +}