{ config, lib, pkgs, modulesPath, ... }: { imports = [ (modulesPath + "/profiles/qemu-guest.nix") ../shared.nix ]; boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ]; boot.initrd.kernelModules = [ "dm-snapshot" ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; boot.loader.grub.enable = true; boot.loader.grub.devices = [ "/dev/sda" ]; # boot off an LVM pool named NixOS and lv named System fileSystems."/" = { device = "/dev/NixOS/System"; fsType = "ext4"; }; swapDevices = [ ]; networking.useDHCP = false; networking.interfaces.enp1s0.useDHCP = lib.mkDefault true; # public IP networking.interfaces.enp7s0.useDHCP = lib.mkDefault true; # first internal network nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; }