nix/nixos/hosts/nixos-linode-img/default.nix
2024-01-31 12:51:19 +09:00

16 lines
No EOL
406 B
Nix

{ config, lib, pkgs, modulesPath, desktop, username, ... }: {
boot = {
initrd.kernelModules = [ ];
kernelModules = [ "iptable_nat" "iptable_filter" "xt_nat" ];
extraModulePackages = [ ];
};
time.timeZone = "Asia/Tokyo";
networking = {
hostName = "nixos-linode-img";
useDHCP = lib.mkForce false;
enableIPv6 = lib.mkForce false;
firewall.allowedTCPPorts = [ 22 ];
};
}