21 lines
692 B
Nix
21 lines
692 B
Nix
{ config, lib, pkgs, modulesPath, desktop, username, ... }: {
|
|
imports = [
|
|
# This machine won't be using secureboot
|
|
../../common/modules/bootloader.nix
|
|
./disks.nix
|
|
];
|
|
nixpkgs.config.allowUnfree = false;
|
|
|
|
boot.initrd.availableKernelModules = [ "ata_piix" "ohci_pci" "ehci_pci" "ahci" "sd_mod" "sr_mod" ];
|
|
boot.initrd.kernelModules = [ ];
|
|
boot.kernelModules = [ ];
|
|
boot.extraModulePackages = [ ];
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
virtualisation.virtualbox.guest.enable = true;
|
|
time.timeZone = "Asia/Tokyo";
|
|
networking.hostName = "nixos-vm-02";
|
|
|
|
networking.firewall.allowedTCPPorts = [ 22 ];
|
|
}
|