2021-12-18 12:41:35 +01:00
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules =
|
|
|
|
[ "ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod" ];
|
|
|
|
|
|
|
|
fileSystems."/" = {
|
2021-12-18 13:18:24 +01:00
|
|
|
device = "/dev/disk/by-label/nixos";
|
2021-12-18 12:41:35 +01:00
|
|
|
fsType = "ext4";
|
|
|
|
};
|
|
|
|
|
2021-12-21 17:09:08 +01:00
|
|
|
swapDevices = [{ device = "/dev/disk/by-label/swap"; }];
|
2021-12-18 12:41:35 +01:00
|
|
|
|
|
|
|
hardware.cpu.amd.updateMicrocode =
|
|
|
|
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
}
|