nix/nixos/hosts/nixos-linode-img/default.nix

16 lines
406 B
Nix
Raw Normal View History

2023-12-05 05:27:06 +01:00
{ config, lib, pkgs, modulesPath, desktop, username, ... }: {
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 = [ ];
};
2023-12-19 04:04:32 +01:00
time.timeZone = "Asia/Tokyo";
2023-12-19 03:30:26 +01:00
networking = {
hostName = "nixos-linode-img";
useDHCP = lib.mkForce false;
enableIPv6 = lib.mkForce false;
firewall.allowedTCPPorts = [ 22 ];
};
2023-12-05 05:27:06 +01:00
}