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
This commit is contained in:
parent
89cc461c3c
commit
e2ee645ad0
@ -58,6 +58,11 @@ in {
|
|||||||
# "dyndbg=\"file drivers/video/backlight/qcom-wled.c +fmp\""
|
# "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
|
# according to fdisk, /dev/mmcblk0p41 is 30469887-7471104=22998783
|
||||||
# blocks, and if we let it get resized by whatever magic this is
|
# 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
|
# (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;
|
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 = {
|
hardware.opengl = {
|
||||||
enable = true; driSupport = true;
|
enable = true; driSupport = true;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user