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;
};
# Tools that Linode support like to have install if you need them.
environment.systemPackages = with pkgs; [
inetutils
mtr
sysstat
];
# Configure firewall defaults:
networking.firewall = {
enable = true;
allowedTCPPorts = [ 22 ];
trustedInterfaces = [ "lo" ];
};
networking = {
usePredictableInterfaces = false; # As per Linode's networking guidlines
firewall = {
enable = true;
allowedTCPPorts = [ 22 ];
trustedInterfaces = [ "lo" ];
};
};
cuallaidh =