| 24 Mar 2023 |
samueldr | you can look at postmarketOS's support matrix, as it uses the same almost-mainline kernel | 19:24:30 |
samueldr | though we're a bit behind | 19:24:38 |
matthewcroughan - nix.how | https://github.com/NixOS/mobile-nixos/pull/589 | 19:25:13 |
matthewcroughan - nix.how | I saw this, so I guess that solves that? | 19:25:19 |
matthewcroughan - nix.how | Reserving 6811 sectors for directories...
Fudge factor: 52 / 1000
| 19:26:33 |
matthewcroughan - nix.how | Lol, wondering what the fudge factor is | 19:26:37 |
samueldr | https://github.com/NixOS/mobile-nixos/blob/7a6e97e3af73c4cca87e12c83abcb4913dac7dbc/lib/image-builder/makeExt4.nix#L63-L89 | 19:35:01 |
matthewcroughan - nix.how | In reply to @samueldr:matrix.org https://github.com/NixOS/mobile-nixos/blob/7a6e97e3af73c4cca87e12c83abcb4913dac7dbc/lib/image-builder/makeExt4.nix#L63-L89 Is this image-builder/makeExt4.nix an image builder you've made, and is it of a style you wish Nixpkgs would adopt for building sd images and other kinds of images? | 19:38:53 |
matthewcroughan - nix.how | Just wondering if I should study it to see if there's patterns worth following etc | 19:39:08 |
samueldr | thing I've made, but first second attempt; I have a fourth attempt that has a better UX which I have worked into merging back into Mobile NixOS... I should dust off the PR | 19:39:54 |
samueldr | but it itself also has a major flaw, and I've yet to think about solving it | 19:40:20 |
samueldr | "major" flaw... like pretty minor | 19:40:32 |
raitobezarius | it's fourth now? :D | 19:40:49 |
raitobezarius | damn | 19:40:50 |
raitobezarius | you're killing it | 19:40:55 |
raitobezarius | In reply to @samueldr:matrix.org "major" flaw... like pretty minor which is? | 19:41:08 |
samueldr | partitions are a list | 19:41:26 |
samueldr | so you can't have have a "broken" list of partition | 19:41:55 |
samueldr | e.g. p1, p2, p7 | 19:41:58 |
samueldr | and relatedly, can't override a partition once set, since lists compose poorly in the modules system | 19:42:14 |
samueldr | I say "fourth attempt", but really it's the third revision of that second attempt | 19:42:29 |
samueldr | in this branch I have migrated to the image-builder as found in celun and tow-boot
- https://github.com/samueldr-wip/mobile-nixos-wip/commits/wip/misc-rg351
| 19:49:13 |
| 25 Mar 2023 |
qbit | Heh, I thought you wrote it in forth for a sec | 01:01:20 |
| amardeeps joined the room. | 04:44:42 |
matthewcroughan - nix.how | samueldr: On Mobile NixOS, the documentation for the OnePlus 6 does not mention that you need to unlock the bootloader for the device, does that mean that you do not need to unlock the bootloader? | 11:13:45 |
matthewcroughan - nix.how | I suppose it does need to be, in order to follow the LineageOS steps you suggest and offer | 11:18:17 |
matthewcroughan - nix.how | * I suppose it does need to be, in order to follow the LineageOS copy-partition steps you suggest and offer | 11:18:27 |
matthewcroughan - nix.how | I think there's a valid business case for selling Mobile NixOS devices btw, provisioning them and getting them set up with a sensible default config in /etc/nixos/configuration.nix | 12:25:40 |
7c6f434c | Is it a good idea to do rebuilds locally, though? | 12:26:26 |
matthewcroughan - nix.how | Since there's a fair amount of imperative configuration that needs to be done to the device ahead of time, I think people would pay for a device that is just running it already, I certainly would have. | 12:26:57 |