nix/nixos/hosts/osaka-vultr-01/default.nix
2023-10-08 17:20:24 +09:00

23 lines
No EOL
743 B
Nix

{ config, lib, pkgs, modulesPath, desktop, username, ... }: {
imports = [
./disks.nix
./xinetd.nix
./wireguard.nix
];
# Enable distributed Builds
nix.distributedBuilds = true;
nixpkgs.config.allowUnfree = false;
boot.initrd.availableKernelModules = [ "ata_piix" "ohci_pci" "virtio_pci" "virtio_blk" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "iptable_nat" "iptable_filter" "xt_nat" ];
boot.extraModulePackages = [ ];
virtualisation.hypervGuest.enable = true;
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
time.timeZone = "Asia/Tokyo";
networking.hostName = "osaka-vultr-01";
networking.firewall.allowedTCPPorts = [ 22 ];
}