!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

352 Members
111 Servers

Load older messages


SenderMessageTime
24 Mar 2023
@samueldr:matrix.orgsamueldryou can look at postmarketOS's support matrix, as it uses the same almost-mainline kernel19:24:30
@samueldr:matrix.orgsamueldrthough we're a bit behind19:24:38
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howhttps://github.com/NixOS/mobile-nixos/pull/58919:25:13
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howI saw this, so I guess that solves that?19:25:19
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how
Reserving 6811 sectors for directories...
Fudge factor: 52 / 1000
19:26:33
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howLol, wondering what the fudge factor is 19:26:37
@samueldr:matrix.orgsamueldrhttps://github.com/NixOS/mobile-nixos/blob/7a6e97e3af73c4cca87e12c83abcb4913dac7dbc/lib/image-builder/makeExt4.nix#L63-L8919:35:01
@matthewcroughan:defenestrate.itmatthewcroughan - 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:defenestrate.itmatthewcroughan - nix.howJust wondering if I should study it to see if there's patterns worth following etc19:39:08
@samueldr:matrix.orgsamueldr 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:matrix.orgsamueldrbut it itself also has a major flaw, and I've yet to think about solving it19:40:20
@samueldr:matrix.orgsamueldr"major" flaw... like pretty minor19:40:32
@raitobezarius:matrix.orgraitobezariusit's fourth now? :D19:40:49
@raitobezarius:matrix.orgraitobezariusdamn19:40:50
@raitobezarius:matrix.orgraitobezariusyou're killing it19:40:55
@raitobezarius:matrix.orgraitobezarius
In reply to @samueldr:matrix.org
"major" flaw... like pretty minor
which is?
19:41:08
@samueldr:matrix.orgsamueldrpartitions are a list19:41:26
@samueldr:matrix.orgsamueldrso you can't have have a "broken" list of partition19:41:55
@samueldr:matrix.orgsamueldre.g. p1, p2, p719:41:58
@samueldr:matrix.orgsamueldrand relatedly, can't override a partition once set, since lists compose poorly in the modules system19:42:14
@samueldr:matrix.orgsamueldrI say "fourth attempt", but really it's the third revision of that second attempt19:42:29
@samueldr:matrix.orgsamueldr

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:tapenet.orgqbitHeh, I thought you wrote it in forth for a sec01:01:20
@amardeeps:matrix.orgamardeeps joined the room.04:44:42
@matthewcroughan:defenestrate.itmatthewcroughan - 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:defenestrate.itmatthewcroughan - nix.howI suppose it does need to be, in order to follow the LineageOS steps you suggest and offer11:18:17
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how * I suppose it does need to be, in order to follow the LineageOS copy-partition steps you suggest and offer11:18:27
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howI 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.nix12:25:40
@7c6f434c:nitro.chat7c6f434cIs it a good idea to do rebuilds locally, though?12:26:26
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howSince 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

Show newer messages


Back to Room ListRoom Version: 6