| 24 Mar 2023 |
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 |
matthewcroughan - nix.how | In reply to @7c6f434c:nitro.chat Is it a good idea to do rebuilds locally, though? You mean nixos-rebuild on the phone? | 12:45:09 |
matthewcroughan - nix.how | Is it a good idea to nixos-rebuild on a raspberry pi? It's kind of up to the user, for sure | 12:45:27 |
matthewcroughan - nix.how | I don't feel good when I do it, but sometimes I do! | 12:45:45 |
matthewcroughan - nix.how | But yeah, I'd be deploying to the phone with nix copy and activating on the phone. | 12:46:02 |
matthewcroughan - nix.how | nix build the toplevel with --store ssh-ng://user@buildserver works | 12:46:35 |
matthewcroughan - nix.how | Or hosting the toplevel closure on a webserver which is pulled with nix copy by a systemd timer and activated, that's a way of doing automated updates. | 12:47:11 |
matthewcroughan - nix.how | that systemd timer could even pop up a UI object that says "Do you wan to update" and wait for a dbus response or something | 12:47:44 |
matthewcroughan - nix.how | * that systemd timer could even pop up a UI object that says "Do you want to update" and wait for a dbus response or something | 12:47:48 |
7c6f434c | In reply to @matthewcroughan:defenestrate.it Is it a good idea to nixos-rebuild on a raspberry pi? It's kind of up to the user, for sure I think RPi is easier to cool, though… | 12:47:51 |
matthewcroughan - nix.how | I mean, one of the benefits for me of running Mobile NixOS was going to be the CPU control | 12:48:09 |
matthewcroughan - nix.how | running at low MHz always, to get the best possible battery | 12:48:33 |
matthewcroughan - nix.how | I don't need much CPU! | 12:48:35 |
7c6f434c | Hm OK, if you have a ton of RAM and just do the rebuilds at slow rates in background and you can have the cache just for the big packages… | 12:49:20 |
matthewcroughan - nix.how | yeah you could even have the rebuild switch happen in a systemd service with very very very low resources in a slice | 12:49:58 |