fix(gitea): updated nix options
This commit is contained in:
parent
e56900934d
commit
a5ffe597f7
1 changed files with 3 additions and 2 deletions
|
|
@ -23,9 +23,10 @@ in {
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
services.nats = {
|
services.nats = {
|
||||||
enable = true;
|
enable = true;
|
||||||
listenAddress = "0.0.0.0";
|
|
||||||
port = 4222;
|
port = 4222;
|
||||||
jetstream = true;
|
jetstream = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 4222 9000 ];
|
networking.firewall.allowedTCPPorts = [ 4222 9000 ];
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue