vika_nezrimaya has quit [Remote host closed the connection]
mvnetbiz_8 has quit [Quit: Bye!]
mvnetbiz_8 has joined #nixos-aarch64
vika_nezrimaya has joined #nixos-aarch64
disasm has quit [Ping timeout: 265 seconds]
disasm has joined #nixos-aarch64
vika_nezrimaya has quit [Remote host closed the connection]
vika_nezrimaya has joined #nixos-aarch64
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-aarch64
orivej has quit [Ping timeout: 264 seconds]
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-aarch64
vika_nezrimaya has quit [Remote host closed the connection]
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-aarch64
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-aarch64
h0m1 has quit [Ping timeout: 272 seconds]
h0m1 has joined #nixos-aarch64
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-aarch64
vika_nezrimaya has joined #nixos-aarch64
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-aarch64
dustinm- has joined #nixos-aarch64
dustinm has quit [Ping timeout: 265 seconds]
fps has quit [Ping timeout: 265 seconds]
fps has joined #nixos-aarch64
dongcarl has quit [Read error: Connection reset by peer]
knerten1 has joined #nixos-aarch64
knerten2 has quit [Ping timeout: 256 seconds]
dongcarl has joined #nixos-aarch64
dongcarl has quit [Read error: Connection reset by peer]
dongcarl has joined #nixos-aarch64
* samueldr
idly thinks
<samueldr>
could I use something like squashfs or cromfs ( https://bisqwit.iki.fi/source/cromfs.html ) to make a "system" image which is the base nixos system, and on top of that overlayfs changes into userdata?
<samueldr>
I guess the question is: what would be the best way to compress the fs for a phone
<samueldr>
but at the same time, thinking just 1 minute more
<samueldr>
I realise I should just LVM the partitions instead of playing dumb games
<samueldr>
hm, now thinking compression could still be interesting
<samueldr>
well, already I see some easy gains in limiting the systemd journal :)
<clever>
samueldr: overlayfs would also offer some major recovery options like android
<samueldr>
yeah
<clever>
samueldr: just wipe the upper layers, and you can factory reset it!
<samueldr>
I was thinking about that
<samueldr>
but do you really want to manage upgrading the base layer and keeping the nix store... somewhat sane??
<clever>
but incremental updates with nix and state kind of ruin things
<samueldr>
exactly :)
<clever>
what about 2 overlayfs's?
<samueldr>
so, if you build a non-nixos with nix, yes, definitely feasible
<clever>
hmmm, or just one, but
<clever>
one overlayfs, for /nix, to have a compressed base, and a non-compressed incremental, wipe both whenever
<clever>
and then a non overlayfs for everything else in / (all state)
<clever>
then you can still have incremental changes, but you get better usage if you wipe and do a non-incremental update
<samueldr>
yeah, main issue is I assumed `system` would be handled from the outside via e.g. fastboot flash
<samueldr>
and system might be too small to do this
<samueldr>
BUT, I guess you could have a unique ID on the system partition and wipe the incremental stuff when it differs?
<clever>
yeah
<samueldr>
though that's likely to break the user's system, no?
<clever>
just use the root $out that your putting in the squashfs
<clever>
if the user is updating the system partition, they would loose any nix-env profiles in the process
<clever>
it would be reset back to just one system generation
veleiro has joined #nixos-aarch64
<samueldr>
assuming no nix-env shenanigans into their desktop, it should be fine
<samueldr>
but eh, quite concerning
<clever>
you could also involve `nix copy --from local?root=` into the process, but it gets ugly
<clever>
you would need to copy the closure of ~/.nix-profile before erasing the old system, to a safe dir
<clever>
and then copy it back over the overlayfs after the reset
<clever>
oh, another thing ive found (while rooting things), /system isnt true read-only
<clever>
it tends to just be ext4 mounted ro
<clever>
if you gain root, you can just `mount /system -o remount,rw` and do whatever you want
<samueldr>
yeah
<samueldr>
but you can't anymore
<samueldr>
(on android btw for those confused)
<samueldr>
if you do so, you'll trip dm-verity possibly
<clever>
ah
<clever>
my last rooted device was the kindle fire, which i think was armv6
<clever>
Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3
<samueldr>
I don't think there's been much armv6 android devices
<clever>
Hardware : OMAP4 Bowser4 board
<clever>
its even dual-core!
<samueldr>
oh, looks like I'm wrong, there's been some
<clever>
<5>[ 0.000000] Linux version 3.0.8-02825-g9e39b8c (ubuntu@ip-10-166-55-151) (gcc version 4.4.1 (Sourcery G++ Lite 2010q1-202) ) #1 SMP PREEMPT Sat Aug 3 23:03:37 PDT 2013
<samueldr>
haha! we have their IP!
<clever>
and damn, is the battery ever good on this bloody thing
<clever>
i havent turned it on in months, and it still has 72% charge
<clever>
my cellphone can barely go a single day while in standby
<lordcirth>
Is anyone using tlp on aarch64? I tried to enable it but it's not supported. But it seems that upstream tlp has an aarch64 build.
<lordcirth>
Seems I don't really need it, as networkmanager can also disable wifi powersave, but it's odd
bennofs has joined #nixos-aarch64
cole-h has joined #nixos-aarch64
disasm has quit [Ping timeout: 246 seconds]
disasm has joined #nixos-aarch64
bennofs_ has joined #nixos-aarch64
bennofs has quit [Ping timeout: 256 seconds]
julm has quit [Ping timeout: 256 seconds]
<Thra11>
I tried putting this https://nixos.wiki/wiki/Nix_on_ARM in the 2.3.7 nix source directory and building it, but I get, "configure: error: Package requirements (bdw-gc) were not met:
<Thra11>
builder for '/nix/store/rwkdkakc0wxj3siw1md43n87zskyllgq-nix-tarball-2.3.7pre7029_d5ecb8d.drv' failed with exit code 1
<Thra11>
I had to adjust the file slightly (e.g. s/version/.version/), so maybe it's outdated in some other way too?
<Thra11>
Hmmm. Looks like boehmgc isn't in the tarballDeps or the buildDeps, it's in propagatedDeps, which isn't included in nix-tarball's buildInputs
julm has joined #nixos-aarch64
<samueldr>
sphalerite: I guess the main difference is that (1) it assumes you won't be able to nixos inside the device and (2) you might not even be able to use nix (for those older kernels)
<Thra11>
I'm not sure if I should update the wiki, or whether I'll just end up breaking it for people using it with more 'stable' versions of nix
zupo has joined #nixos-aarch64
alp has quit [Ping timeout: 272 seconds]
alp has joined #nixos-aarch64
rajivr has quit [Quit: Connection closed for inactivity]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alp has quit [Ping timeout: 272 seconds]
orivej has joined #nixos-aarch64
t184256 has left #nixos-aarch64 [#nixos-aarch64]
t184256 has joined #nixos-aarch64
quinn has joined #nixos-aarch64
noonien has joined #nixos-aarch64
veleiro has joined #nixos-aarch64
veleiro has quit [Client Quit]
veleiro has joined #nixos-aarch64
Darkmatter66 has joined #nixos-aarch64
Darkmatter66_ has quit [Ping timeout: 240 seconds]
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-aarch64
lordcirth_ has joined #nixos-aarch64
lordcirth has quit [Ping timeout: 244 seconds]
cole-h has quit [Quit: Goodbye]
<DigitalKiwi>
bennofs[m]: i had to use the old kernel
<DigitalKiwi>
bennofs[m]: i wasted many hours trying not to, if you figure it out let me know