Added Linode customisations

This commit is contained in:
Serĉanto de Scio 2019-07-03 21:30:23 +10:00
parent b9041df52e
commit 1a16eb5bd8
Signed by: sercanto
GPG key ID: A4122FF3971B6865

View file

@ -19,12 +19,21 @@
allowUnfree = true; allowUnfree = true;
}; };
# Tools that Linode support like to have install if you need them.
environment.systemPackages = with pkgs; [
inetutils
mtr
sysstat
];
# Configure firewall defaults: # Configure firewall defaults:
networking.firewall = { networking = {
enable = true; usePredictableInterfaces = false; # As per Linode's networking guidlines
allowedTCPPorts = [ 22 ]; firewall = {
trustedInterfaces = [ "lo" ]; enable = true;
}; allowedTCPPorts = [ 22 ];
trustedInterfaces = [ "lo" ];
};
}; };
cuallaidh = cuallaidh =