{ config, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/profiles/qemu-guest.nix") ./shared.nix ]; boot.initrd.availableKernelModules = [ "ata_piix" "virtio_pci" "xhci_pci" "sd_mod" "sr_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; boot.loader.grub.enable = true; boot.loader.grub.devices = [ "/dev/sda" ]; fileSystems."/" = { device = "/dev/sda1"; }; swapDevices = [ ]; time.timeZone = "America/Los_Angeles"; networking.useDHCP = false; networking.interfaces.ens3.useDHCP = true; # public IP networking.interfaces.ens10.useDHCP = true; # first internal network nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; }