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:
Erwin Boskma 2023-01-17 15:53:06 +01:00
parent fc2a3a8b94
commit 3ecb99ac34
Signed by: erwin
SSH key fingerprint: SHA256:CyeNoWXd3kjX2Nwu6pDxxdS7OqmPVOy0NavA/KU/ntU
2 changed files with 8 additions and 2 deletions

View file

@ -44,7 +44,7 @@
};
initrd = {
availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "" ];
kernelModules = [ ];
};
@ -56,4 +56,10 @@
services.qemuGuest = {
enable = true;
};
services.lvm = {
enable = true;
};
system.stateVersion = "23.05";
}

View file

@ -78,7 +78,7 @@
};
};
data = {
zz_data = {
size = "100%FREE";
content = {
type = "filesystem";