From e7101a2fd6db4fe21ae0dd54c979a00754548beb 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 af4e406..4c77615 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 @@ -139,10 +144,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; };