diff --git a/README b/README index 3cc4a0f..6cdf3a5 100644 --- a/README +++ b/README @@ -1,5 +1,5 @@ -Config for my moto potter to turn it into a bike computer. We will +Config for my moto harpia to turn it into a bike computer. We will need - working gps diff --git a/configuration.nix b/configuration.nix index 0ffa47e..8a1818c 100644 --- a/configuration.nix +++ b/configuration.nix @@ -61,6 +61,21 @@ in { # "dyndbg=\"file drivers/video/backlight/qcom-wled.c +fmp\"" ]; + # 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 + # an error + + # EXT4-fs (mmcblk0p41): bad geometry: block count 2883067 exceeds size of device (2874848 blocks) + + # in which neither number matches the reported size (they're both + # about 10% of it). cool. + + boot.growPartition = lib.mkForce false; + fileSystems."/" = lib.mkDefault { + autoResize = lib.mkForce false; + }; + networking = { useDHCP = true; hostName = "biscuit";