commit e2ee645ad088b2fd3d1df10aaf4a87fb1d4dad71
parent 89cc461c3c43f5c670c9d2bb7058ea274c9e3e45
Author: Daniel Barlow <dan@telent.net>
Date: Sun, 27 Apr 2025 23:51:29 +0100
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
Diffstat:
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git 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;
};