From e2ee645ad088b2fd3d1df10aaf4a87fb1d4dad71 Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Sun, 27 Apr 2025 23:51:29 +0100 Subject: [PATCH] mount /boot by fs label not partlabel as we are booting nixos from mmc1 (sd card) and it's MBR formatted so doesn't have partlabels --- configuration.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/configuration.nix b/configuration.nix index 9b5bbb5..6227646 100644 --- a/configuration.nix +++ b/configuration.nix @@ -58,6 +58,11 @@ in { # "dyndbg=\"file drivers/video/backlight/qcom-wled.c +fmp\"" ]; + fileSystems."/boot" = { + device = "/dev/disk/by-label/nixos-boot"; + fsType = "ext2"; + }; + # according to fdisk, /dev/mmcblk0p41 is 30469887-7471104=22998783 # blocks, and if we let it get resized by whatever magic this is # (I'm assuming systemd-growfs), on the subsequent boot we'll get @@ -120,10 +125,6 @@ in { users.users.root.openssh.authorizedKeys.keys = import ../telent-nixos-config/users/dan/authorized-keys.nix; - fileSystems."/boot" = { - device = "/dev/disk/by-partlabel/system"; - fsType = "ext4"; - }; hardware.opengl = { enable = true; driSupport = true; };