21 lines
No EOL
511 B
Nix
21 lines
No EOL
511 B
Nix
{ config, lib, pkgs, modulesPath, desktop, username, ... }: {
|
|
boot = {
|
|
initrd.kernelModules = [ ];
|
|
kernelModules = [ "iptable_nat", "iptable_filter", "xt_nat" ];
|
|
extraModulePackages = [ ];
|
|
};
|
|
|
|
time.timezone = "Asia/Tokyo";
|
|
|
|
nixpkgs = {
|
|
config.allowUnfree = false;
|
|
hostPlatform = lib.mkDefault "x86_64-linux";
|
|
};
|
|
|
|
networking = {
|
|
hostName = "nixos-linode-img";
|
|
useDHCP = lib.mkForce false;
|
|
enableIPv6 = lib.mkForce false;
|
|
firewall.allowedTCPPorts = [ 22 ];
|
|
};
|
|
} |