nix/nixos/hosts/nixos-linode-img/default.nix
2023-12-05 13:39:02 +09:00

10 lines
No EOL
417 B
Nix

{ 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.firewall.allowedTCPPorts = [ 22 ];
}