don't use systemd early to fix bcachefs mounting

This commit is contained in:
Christoph Cullmann 2025-05-04 17:30:46 +02:00
parent 78c1ebdd93
commit aff8cd2835
No known key found for this signature in database
2 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@
# /boot efi partition to boot in UEFI mode # /boot efi partition to boot in UEFI mode
fileSystems."/boot" = { fileSystems."/boot" = {
device = "UUID=28FC-CA9F"; device = "UUID=78FD-8F29";
fsType = "vfat"; fsType = "vfat";
neededForBoot = true; neededForBoot = true;
options = [ "fmask=0022" "dmask=0022" ]; options = [ "fmask=0022" "dmask=0022" ];
@ -23,7 +23,7 @@
# /nix volume with the system & all persistent data # /nix volume with the system & all persistent data
fileSystems."/nix" = { fileSystems."/nix" = {
device = "UUID=5e0f8758-12f6-4262-90c7-e633a28f8b6e"; device = "UUID=df5e6f5c-9700-48fd-ab16-90b7a1b3bca2";
fsType = "bcachefs"; fsType = "bcachefs";
neededForBoot = true; neededForBoot = true;
}; };

View file

@ -117,8 +117,8 @@ in
# we want to be able to do a memtest # we want to be able to do a memtest
boot.loader.systemd-boot.memtest86.enable = true; boot.loader.systemd-boot.memtest86.enable = true;
# use systemd early # don't use systemd early to fix bcachefs mounting
boot.initrd.systemd.enable = true; boot.initrd.systemd.enable = false;
# setup the console stuff early # setup the console stuff early
console.earlySetup = true; console.earlySetup = true;