···11+# Do not modify this file! It was generated by ‘nixos-generate-config’
22+# and may be overwritten by future invocations. Please make changes
33+# to /etc/nixos/configuration.nix instead.
44+{ config, lib, pkgs, modulesPath, ... }:
55+66+{
77+ imports =
88+ [ (modulesPath + "/profiles/qemu-guest.nix")
99+ ];
1010+1111+ boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
1212+ boot.initrd.kernelModules = [ ];
1313+ boot.kernelModules = [ "kvm-amd" ];
1414+ boot.extraModulePackages = [ ];
1515+1616+ fileSystems."/" =
1717+ { device = "/dev/disk/by-label/nixos";
1818+ fsType = "ext4";
1919+ };
2020+2121+ fileSystems."/boot" =
2222+ { device = "/dev/disk/by-label/boot";
2323+ fsType = "vfat";
2424+ options = [ "fmask=0077" "dmask=0077" ];
2525+ };
2626+2727+ swapDevices = [ ];
2828+2929+ # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
3030+ # (the default) this is the recommended approach. When using systemd-networkd it's
3131+ # still possible to use this option, but it's recommended to use it in conjunction
3232+ # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
3333+ networking.useDHCP = lib.mkDefault true;
3434+ # networking.interfaces.enp1s0.useDHCP = lib.mkDefault true;
3535+3636+ nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
3737+}