1 # Do not modify this file! It was generated by ‘nixos-generate-config’
2 # and may be overwritten by future invocations. Please make changes
3 # to /etc/nixos/configuration.nix instead.
4 { config, lib, pkgs, modulesPath, ... }:
8 [ (modulesPath + "/profiles/qemu-guest.nix")
11 boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" ];
12 boot.initrd.kernelModules = [ ];
13 boot.kernelModules = [ "kvm-intel" ];
14 boot.extraModulePackages = [ ];
16 # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
17 # (the default) this is the recommended approach. When using systemd-networkd it's
18 # still possible to use this option, but it's recommended to use it in conjunction
19 # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
20 networking.useDHCP = lib.mkDefault true;
21 # networking.interfaces.ens3.useDHCP = lib.mkDefault true;
23 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";