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, ... }: {
|
{ config, lib, pkgs, modulesPath, desktop, username, ... }: {
|
||||||
nixpkgs.config.allowUnfree = false;
|
boot = {
|
||||||
boot.initrd.kernelModules = [ ];
|
initrd.kernelModules = [ ];
|
||||||
boot.kernelModules = [ "iptable_nat" "iptable_filter" "xt_nat" ];
|
kernelModules = [ "iptable_nat", "iptable_filter", "xt_nat" ];
|
||||||
boot.extraModulePackages = [ ];
|
extraModulePackages = [ ];
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
};
|
||||||
time.timeZone = "Asia/Tokyo";
|
|
||||||
networking.hostName = "nixos-linode-img";
|
time.timezone = "Asia/Tokyo";
|
||||||
networking.useDHCP = lib.mkForce false;
|
|
||||||
networking.enableIPv6 = lib.mkForce false;
|
nixpkgs = {
|
||||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
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