!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

353 Members
111 Servers

Load older messages


SenderMessageTime
24 Mar 2023
@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
@matthewcroughan:defenestrate.itmatthewcroughan - 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:defenestrate.itmatthewcroughan - nix.howIs 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:defenestrate.itmatthewcroughan - nix.howI don't feel good when I do it, but sometimes I do!12:45:45
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how But yeah, I'd be deploying to the phone with nix copy and activating on the phone. 12:46:02
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how nix build the toplevel with --store ssh-ng://user@buildserver works 12:46:35
@matthewcroughan:defenestrate.itmatthewcroughan - 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:defenestrate.itmatthewcroughan - nix.howthat systemd timer could even pop up a UI object that says "Do you wan to update" and wait for a dbus response or something12:47:44
@matthewcroughan:defenestrate.itmatthewcroughan - 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 something12:47:48
@7c6f434c:nitro.chat7c6f434c
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:defenestrate.itmatthewcroughan - nix.howI mean, one of the benefits for me of running Mobile NixOS was going to be the CPU control12:48:09
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howrunning at low MHz always, to get the best possible battery12:48:33
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howI don't need much CPU!12:48:35
@7c6f434c:nitro.chat7c6f434cHm 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:defenestrate.itmatthewcroughan - 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
@7c6f434c:nitro.chat7c6f434c
In reply to @matthewcroughan:defenestrate.it
running at low MHz always, to get the best possible battery
Pretty sure that CPUs are designed to make this is not the best possible battery, but nothing has enough load control to make the design come true
12:50:06
@matthewcroughan:defenestrate.itmatthewcroughan - nix.how1cpu 512M memory12:50:08
@7c6f434c:nitro.chat7c6f434cUhm, let me count the ways 512MiB is not enough for nixos-rebuild12:50:30
@matthewcroughan:defenestrate.itmatthewcroughan - nix.hownix evaluation right?12:50:37
@matthewcroughan:defenestrate.itmatthewcroughan - nix.howIt would be enough if we could share the eval cache, something I know is not secure at the moment 12:50:49

Show newer messages


Back to Room ListRoom Version: 6