Added firewall rules

This commit is contained in:
Serĉanto de Scio 2019-07-02 13:04:55 +10:00
parent c0a103816f
commit 1ebbd79e6b
Signed by: sercanto
GPG key ID: A4122FF3971B6865

View file

@ -1,4 +1,4 @@
# NixOps configuration for the Raspberry Pi 3B Rack
# NixOps configuration for the Linode VMs
{
network = {
@ -18,6 +18,13 @@
config = "x86_64-unknown-linux-gnu";
allowUnfree = true;
};
# Configure firewall defaults:
networking.firewall = {
enable = true;
allowedTCPPorts = [ 22 ];
trustedInterfaces = [ "lo" ];
};
};
cuallaidh =