Add Jupiter to mycelium
This commit is contained in:
parent
3bf365966c
commit
6a2fd78220
8 changed files with 50 additions and 10 deletions
|
@ -5,7 +5,7 @@
|
|||
config = lib.mkIf config.services.nfs.server.enable {
|
||||
services.nfs.server.exports = "/storage *(rw)";
|
||||
networking.firewall.extraInputRules = with config.services.mycelium.ips; ''
|
||||
ip6 saddr { ${tower}, ${midas}, ${kitty}, ${prophet} } tcp dport 2049 accept
|
||||
ip6 saddr { ${tower}, ${jupiter}, ${midas}, ${kitty}, ${prophet} } tcp dport 2049 accept
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
'';
|
||||
};
|
||||
networking.firewall.extraInputRules = with config.services.mycelium.ips; ''
|
||||
ip6 saddr ${tower} tcp dport 1935 accept
|
||||
ip6 saddr { ${tower}, ${jupiter} } tcp dport 1935 accept
|
||||
ip saddr { ${config.secrets.ips.luna}, ${config.secrets.ips.corn} } tcp dport 1935 accept
|
||||
'';
|
||||
systemd.services.nginx.serviceConfig.ReadWritePaths = [ "/var/www/landing-page/streams/hls/" ];
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
rtmp-port = 1945;
|
||||
};
|
||||
networking.firewall.extraInputRules = with config.services.mycelium.ips; ''
|
||||
ip6 saddr ${tower} tcp dport 1935 accept
|
||||
ip6 saddr { ${tower}, ${jupiter} } tcp dport 1935 accept
|
||||
'';
|
||||
environment.persistence."/persist".directories = [ "/var/lib/owncast" ];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue