2023-11-21 15:05:37 +01:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
pkgs,
|
|
|
|
modulesPath,
|
|
|
|
...
|
|
|
|
}: {
|
2023-11-21 14:55:19 +01:00
|
|
|
imports = [(modulesPath + "/profiles/qemu-guest.nix")];
|
|
|
|
boot.loader.grub.device = "/dev/sda";
|
2024-05-06 15:55:51 +02:00
|
|
|
boot.initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod"];
|
2023-11-21 14:55:19 +01:00
|
|
|
boot.initrd.kernelModules = ["nvme"];
|
2024-05-06 15:55:51 +02:00
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
networking.useDHCP = lib.mkDefault true;
|
|
|
|
|
2023-11-21 14:55:19 +01:00
|
|
|
fileSystems."/" = {
|
2024-05-06 15:55:51 +02:00
|
|
|
device = "/dev/disk/by-uuid/dc10d09c-9394-4854-acd5-93ceccd2f448";
|
2023-11-21 14:55:19 +01:00
|
|
|
fsType = "ext4";
|
|
|
|
};
|
2024-05-06 15:55:51 +02:00
|
|
|
|
|
|
|
fileSystems."/nix/store" = {
|
|
|
|
device = "/nix/store";
|
|
|
|
fsType = "none";
|
|
|
|
options = ["bind"];
|
|
|
|
};
|
|
|
|
|
|
|
|
swapDevices = [];
|
2023-11-20 16:14:05 +01:00
|
|
|
}
|