2023-10-09 10:44:07 -07:00
|
|
|
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
|
|
|
|
|
# and may be overwritten by future invocations. Please make changes
|
|
|
|
|
|
# to /etc/nixos/configuration.nix instead.
|
|
|
|
|
|
{
|
2024-08-14 11:14:20 -07:00
|
|
|
|
config,
|
|
|
|
|
|
lib,
|
|
|
|
|
|
pkgs,
|
|
|
|
|
|
modulesPath,
|
|
|
|
|
|
...
|
|
|
|
|
|
}: {
|
|
|
|
|
|
imports = [(modulesPath + "/profiles/qemu-guest.nix")];
|
2023-10-09 10:44:07 -07:00
|
|
|
|
|
|
|
|
|
|
# boot.initrd.availableKernelModules =
|
|
|
|
|
|
# [ "ata_piix" "virtio_pci" "virtio_scsi" "sd_mod" ];
|
|
|
|
|
|
# boot.initrd.kernelModules = [ ];
|
2024-08-14 11:14:20 -07:00
|
|
|
|
boot.kernelModules = [];
|
|
|
|
|
|
boot.extraModulePackages = [];
|
2023-10-09 10:44:07 -07:00
|
|
|
|
|
|
|
|
|
|
# fileSystems."/" = {
|
|
|
|
|
|
# device = "/dev/disk/by-uuid/6d3bf8cd-1996-45fb-";
|
|
|
|
|
|
# fsType = "ext4";
|
|
|
|
|
|
# };
|
|
|
|
|
|
|
2024-08-14 11:14:20 -07:00
|
|
|
|
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi"];
|
|
|
|
|
|
boot.initrd.kernelModules = ["nvme"];
|
|
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
|
device = "/dev/sda3";
|
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
|
};
|
2023-10-09 10:44:07 -07:00
|
|
|
|
|
2024-08-14 11:14:20 -07:00
|
|
|
|
swapDevices = [];
|
2023-10-09 10:44:07 -07:00
|
|
|
|
|
|
|
|
|
|
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
|
|
|
|
|
# (the default) this is the recommended approach. When using systemd-networkd it's
|
|
|
|
|
|
# still possible to use this option, but it's recommended to use it in conjunction
|
|
|
|
|
|
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
|
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
# networking.interfaces.ens18.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
# networking.interfaces.ens19.useDHCP = lib.mkDefault true;
|
|
|
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
|
|
hardware.cpu.intel.updateMicrocode =
|
|
|
|
|
|
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
|
}
|