refactor(firewall): Make services responsible for opening ports
This commit is contained in:
parent
1d84562078
commit
b63c823577
9 changed files with 63 additions and 39 deletions
|
|
@ -9,6 +9,11 @@ let
|
|||
hostName = "nextcloud.${config.services.nginx.domain}";
|
||||
in
|
||||
{
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80
|
||||
443
|
||||
];
|
||||
|
||||
services = {
|
||||
nextcloud = {
|
||||
inherit hostName;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue