Added Linode customisations
This commit is contained in:
parent
b9041df52e
commit
1a16eb5bd8
|
@ -19,8 +19,17 @@
|
|||
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 = {
|
||||
networking = {
|
||||
usePredictableInterfaces = false; # As per Linode's networking guidlines
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 22 ];
|
||||
trustedInterfaces = [ "lo" ];
|
||||
|
|
Loading…
Reference in a new issue