mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 20:39:04 +02:00
virtualisation.lxc: use openFirewall instead of allowedTCPPorts
This commit is contained in:
parent
caabd8933c
commit
d203189dbf
|
@ -115,6 +115,6 @@ in
|
|||
services.openssh.startWhenNeeded = mkDefault true;
|
||||
|
||||
# Allow ssh connections
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
services.openssh.openFirewall = mkDefault true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue