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

21 lines
509 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 = [ ];
};
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 ];
};
2023-12-05 05:27:06 +01:00
}