nix/nixos/hosts/nixos-linode-img/default.nix
2024-11-18 20:48:16 +01:00

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 ];
};
}