nix/nixos/hosts/nixos-linode-img/default.nix
iFargle ea9cdd7777
Some checks failed
build-linode-img / build-linode-img (push) Failing after 36m37s
Update
2023-12-19 12:04:32 +09:00

21 lines
No EOL
509 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 ];
};
}