18 lines
No EOL
665 B
Nix
18 lines
No EOL
665 B
Nix
{ config, lib, pkgs, modulesPath, desktop, username, ... }: {
|
|
# 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 = "nixos-linode-img";
|
|
|
|
networking.firewall.allowedTCPPorts = [ 22 ];
|
|
} |