fix: zfs mounting when using systemd initrd
fix: enabled systemd emergency access
This commit is contained in:
parent
cb36561cdc
commit
cf61c70015
|
@ -22,6 +22,7 @@
|
|||
};
|
||||
boot = {
|
||||
initrd.systemd.enable = true;
|
||||
initrd.systemd.emergencyAccess = true;
|
||||
initrd.availableKernelModules = ["xhci_pci" "nvme" "usb_storage" "usbhid" "sd_mod" "rtsx_pci_sdmmc"];
|
||||
supportedFilesystems = ["ntfs"];
|
||||
kernelModules = ["kvm-intel"];
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
fileSystems."/" = {
|
||||
device = "rpool/ROOT/nixos";
|
||||
fsType = "zfs";
|
||||
options = ["zfsutil" "X-mount.mkdir"];
|
||||
};
|
||||
|
||||
fileSystems."/boot" = {
|
||||
|
|
Loading…
Reference in a new issue