From aff8cd28357ad1dd702ed4cb32377994e08d95ff Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sun, 4 May 2025 17:30:46 +0200 Subject: [PATCH] don't use systemd early to fix bcachefs mounting --- neko/hardware-configuration.nix | 4 ++-- share/common.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/neko/hardware-configuration.nix b/neko/hardware-configuration.nix index fc0a332..ef4428b 100644 --- a/neko/hardware-configuration.nix +++ b/neko/hardware-configuration.nix @@ -15,7 +15,7 @@ # /boot efi partition to boot in UEFI mode fileSystems."/boot" = { - device = "UUID=28FC-CA9F"; + device = "UUID=78FD-8F29"; fsType = "vfat"; neededForBoot = true; options = [ "fmask=0022" "dmask=0022" ]; @@ -23,7 +23,7 @@ # /nix volume with the system & all persistent data fileSystems."/nix" = { - device = "UUID=5e0f8758-12f6-4262-90c7-e633a28f8b6e"; + device = "UUID=df5e6f5c-9700-48fd-ab16-90b7a1b3bca2"; fsType = "bcachefs"; neededForBoot = true; }; diff --git a/share/common.nix b/share/common.nix index 6e2ff5d..a08730e 100644 --- a/share/common.nix +++ b/share/common.nix @@ -117,8 +117,8 @@ in # we want to be able to do a memtest boot.loader.systemd-boot.memtest86.enable = true; - # use systemd early - boot.initrd.systemd.enable = true; + # don't use systemd early to fix bcachefs mounting + boot.initrd.systemd.enable = false; # setup the console stuff early console.earlySetup = true;