16 lines
361 B
Nix
16 lines
361 B
Nix
{ lib, ... }: {
|
|
boot = {
|
|
initrd.kernelModules = [ ];
|
|
kernelModules = [ "iptable_nat" "iptable_filter" "xt_nat" ];
|
|
extraModulePackages = [ ];
|
|
};
|
|
|
|
time.timeZone = "Europe/UTC";
|
|
|
|
networking = {
|
|
hostName = "nixos-linode-img";
|
|
useDHCP = lib.mkForce false;
|
|
enableIPv6 = lib.mkForce false;
|
|
firewall.allowedTCPPorts = [ 22 ];
|
|
};
|
|
}
|