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; + }; +}