2024-11-18 20:48:16 +01:00
|
|
|
{ lib, ... }: {
|
2023-12-19 03:30:26 +01:00
|
|
|
boot = {
|
|
|
|
initrd.kernelModules = [ ];
|
2023-12-19 03:52:52 +01:00
|
|
|
kernelModules = [ "iptable_nat" "iptable_filter" "xt_nat" ];
|
2023-12-19 03:30:26 +01:00
|
|
|
extraModulePackages = [ ];
|
|
|
|
};
|
|
|
|
|
2024-11-18 20:48:16 +01:00
|
|
|
time.timeZone = "Europe/UTC";
|
2023-12-19 03:30:26 +01:00
|
|
|
|
|
|
|
networking = {
|
|
|
|
hostName = "nixos-linode-img";
|
|
|
|
useDHCP = lib.mkForce false;
|
|
|
|
enableIPv6 = lib.mkForce false;
|
|
|
|
firewall.allowedTCPPorts = [ 22 ];
|
|
|
|
};
|
2024-11-18 20:48:16 +01:00
|
|
|
}
|