Enable LVM, make sure data partition is created last
There are suggestions to add a way to set the order without the need to prefix attribute names. See https://github.com/nix-community/disko/issues/80
This commit is contained in:
parent
fc2a3a8b94
commit
3ecb99ac34
2 changed files with 8 additions and 2 deletions
|
@ -44,7 +44,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
initrd = {
|
initrd = {
|
||||||
availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
|
availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "" ];
|
||||||
kernelModules = [ ];
|
kernelModules = [ ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -56,4 +56,10 @@
|
||||||
services.qemuGuest = {
|
services.qemuGuest = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.lvm = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
system.stateVersion = "23.05";
|
||||||
}
|
}
|
||||||
|
|
|
@ -78,7 +78,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
data = {
|
zz_data = {
|
||||||
size = "100%FREE";
|
size = "100%FREE";
|
||||||
content = {
|
content = {
|
||||||
type = "filesystem";
|
type = "filesystem";
|
||||||
|
|
Loading…
Reference in a new issue