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,8 +19,17 @@
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 = {
usePredictableInterfaces = false; # As per Linode's networking guidlines
firewall = {
enable = true; enable = true;
allowedTCPPorts = [ 22 ]; allowedTCPPorts = [ 22 ];
trustedInterfaces = [ "lo" ]; trustedInterfaces = [ "lo" ];