mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
virtualisation.lxc: use openFirewall instead of allowedTCPPorts
This commit is contained in:
parent
caabd8933c
commit
d203189dbf
1 changed files with 1 additions and 1 deletions
|
@ -115,6 +115,6 @@ in
|
||||||
services.openssh.startWhenNeeded = mkDefault true;
|
services.openssh.startWhenNeeded = mkDefault true;
|
||||||
|
|
||||||
# Allow ssh connections
|
# Allow ssh connections
|
||||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
services.openssh.openFirewall = mkDefault true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue