Start on minecraft VM
This commit is contained in:
parent
fa8f67bc4b
commit
c07ac78bec
1 changed files with 10 additions and 8 deletions
|
@ -1,18 +1,20 @@
|
|||
{
|
||||
let
|
||||
rootDisk = "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi2";
|
||||
rootPart = "f59330d9-0315-43c0-90a1-d9b13c6298f9";
|
||||
dockerPart = "/dev/disk/by-uuid/3730e48a-8784-4c49-8692-473c9b4bc8c3";
|
||||
in {
|
||||
# Bootloader.
|
||||
boot.loader.grub.device = rootDisk;
|
||||
|
||||
# Root filesystem.
|
||||
fileSystems."/" = {
|
||||
device = "/dev/disk/by-uuid/cbd70e61-fcdc-4b1f-af03-d3da8a2866ea";
|
||||
device = rootPart;
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
# Docker data directory.
|
||||
fileSystems."/home/fern/docker/data" = {
|
||||
device = "/dev/disk/by-uuid/3730e48a-8784-4c49-8692-473c9b4bc8c3";
|
||||
device = dockerPart;
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
# Swap.
|
||||
swapDevices = [
|
||||
{device = "/dev/disk/by-uuid/45cafadd-90f2-4b65-82fc-60d59eb75786";}
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue