2021-10-27 19:36:16 +00:00
|
|
|
{ modulesPath, ... }:
|
|
|
|
{
|
|
|
|
imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
|
2022-12-01 18:14:40 +00:00
|
|
|
boot.loader.grub.device = "/dev/sda";
|
|
|
|
boot.initrd.availableKernelModules = [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ];
|
2021-10-27 19:36:16 +00:00
|
|
|
boot.initrd.kernelModules = [ "nvme" ];
|
2022-12-01 18:14:40 +00:00
|
|
|
fileSystems."/" = { device = "/dev/sda1"; fsType = "ext4"; };
|
2021-11-01 18:59:12 +00:00
|
|
|
# swap
|
2022-12-01 18:14:40 +00:00
|
|
|
swapDevices = [{ device = "/var/swapfile"; size = 2 * 1024; }];
|
2023-05-15 11:56:39 +00:00
|
|
|
# volumes
|
|
|
|
fileSystems."/mnt/minio" = {
|
|
|
|
device = "/dev/disk/by-id/scsi-0HC_Volume_31812942";
|
|
|
|
fsType = "ext4";
|
|
|
|
|
|
|
|
};
|
2021-10-27 19:36:16 +00:00
|
|
|
}
|