This commit is contained in:
parent
e9ba9e9a83
commit
cc7e1aeddd
1 changed files with 19 additions and 10 deletions
|
@ -1,12 +1,21 @@
|
|||
{ 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";
|
||||
networking.useDHCP = lib.mkForce false;
|
||||
networking.enableIPv6 = lib.mkForce false;
|
||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||
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 ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue