20 lines
540 B
Nix
20 lines
540 B
Nix
{ 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."/" = {
|
|
device = "/dev/disk/by-uuid/c185b0bf-145d-4ec3-8848-73da24e5caf6";
|
|
fsType = "ext4";
|
|
};
|
|
|
|
swapDevices =
|
|
[{ device = "/dev/disk/by-uuid/112f05bd09ee0-4dfb-b94c-9c950ce411ff"; }];
|
|
|
|
hardware.cpu.amd.updateMicrocode =
|
|
lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
}
|