2023-12-05 05:27:06 +01:00
|
|
|
{ config, lib, pkgs, modulesPath, desktop, username, ... }: {
|
|
|
|
nixpkgs.config.allowUnfree = false;
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
boot.kernelModules = [ "iptable_nat" "iptable_filter" "xt_nat" ];
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
time.timeZone = "Asia/Tokyo";
|
|
|
|
networking.hostName = "nixos-linode-img";
|
2023-12-19 03:21:01 +01:00
|
|
|
networking.useDHCP = lib.mkForce false;
|
2023-12-19 03:24:14 +01:00
|
|
|
networking.enableIPv6 = lib.mkForce false;
|
2023-12-05 05:27:06 +01:00
|
|
|
networking.firewall.allowedTCPPorts = [ 22 ];
|
|
|
|
}
|