virtualisation.lxc: use openFirewall instead of allowedTCPPorts

This commit is contained in:
Maciej Krüger 2021-04-28 04:59:24 +02:00
parent caabd8933c
commit d203189dbf
No known key found for this signature in database
GPG key ID: 0D948CE19CF49C5F

View file

@ -115,6 +115,6 @@ in
services.openssh.startWhenNeeded = mkDefault true;
# Allow ssh connections
networking.firewall.allowedTCPPorts = [ 22 ];
services.openssh.openFirewall = mkDefault true;
};
}