Added Linode customisations
This commit is contained in:
parent
b9041df52e
commit
1a16eb5bd8
|
@ -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 =
|
||||||
|
|
Loading…
Reference in a new issue