<MichaelEden[m]> how is NixOS on the PineBook Pro? I just ordered oen
vika_nezrimaya has quit [Ping timeout: 276 seconds]
<samueldr> unknown!
<samueldr> considering none have shipped yet
<samueldr> though the first part of the first batch is expected to ship this week
<samueldr> heh :)
<MichaelEden[m]> oh oops, I thought some had gone out already
<MichaelEden[m]> I'm sure it'll be fine!
<samueldr> there are two main bits that it will all hinge on
<samueldr> 1) the u-boot fork's state
<samueldr> 2) upstream kernel state
<samueldr> I think it's likely to be fine from what it looked like at first
<samueldr> the u-boot is stored on SPI flash, and IIRC it's known to be a u-boot with EFI support
<MichaelEden[m]> yeah, I think the RK3399 is already somewhat upstreamed in kernel
<samueldr> yeah, and getting better
<Ashy> it wasnt completely smooth sailing on my rockpro64 a few months back when i was last testing it
<Ashy> ayufan's kernel patches weren't yet mainlined so i had to use his uboot/kernel to boot the nixos partition
<Ashy> which sounds even messier than i remember it, should have done a wiki post at the time :/
<samueldr> yeah, that's why I'm not 100% confident, but only "likely" fine
<samueldr> it's almost 100% sure all the pieces will be there
<samueldr> it's more about how much of it is left not upstreamed
<samueldr> meanwhile, compared to some other rk3399 boards, where there's still nothing really :/
<Ashy> that was with emmc rather than sdcard though, i've got a spare sdcard now and the latest kernel has marched on since then, i'll have to try again this weekend
<Ashy> panfrost has also marched on a lot since then
<samueldr> Thra11 and lopsided98 have been contributing to the page :)
<samueldr> only missing your additions :)
<samueldr> and ;)
<Ashy> yeah hehe, that page is also full of fairly high level hints about what to do
<Ashy> rather than a ready to go bash snippet to fill an sdcard/emmc with a bootable nixos config for it
<samueldr> and a good thing for the pinebook pro is that it, in most ways, build upon their existing knowledge of the rk3399
<Ashy> i'll block some time out saturday to have a play again and see if i can expand that wiki page with some simple steps
<Ashy> it's a sweet board otherwise
<Ashy> especially with the m.2 adaptor
ris has quit [Ping timeout: 276 seconds]
<t184256> DigitalKiwi: no, I have no idea why are looking in that place, actually. The location is /data/data/com.termux.nix/files/, and if you want to put something on external storage, you need to 1) grant permissions for storage in the app info 2) manually put something to /sdcard/
<t184256> *you are
<Ashy> there's a script on the real termux: termux-setup-storage
<Ashy> not sure if that's in the termux nix fork
<DigitalKiwi> i went to the settings -> app -> permissions -> grand storage yeah
<t184256> That's everything that this script does, displays a pop-up for that one
<t184256> My fork doesn't have it, or any of the helpers. Or any ability to call into any outside code, basically =( something that I haven't figured out yet
<DigitalKiwi> can it run systemd stuff
<t184256> theoretically at best. need to look how it is handled in more classic single user installs
* DigitalKiwi wants to run syncthing :(
<t184256> DigitalKiwi: ummm, there's a cool easy way to do that, and it's called Syncthing-Android =) with nice GUI and battery/data saving policies
<t184256> Not sure what you would gain by running the nix version, but you'll lose aplenty
<DigitalKiwi> yeah but the files i want to sync are in the com.termux.nix/files/ which afaik doesn't actually exist
<DigitalKiwi> (that answers your question about why i was looking for them)
<t184256> Move them to sdcard and symlink them from /data/data/com.termux.nix/files? That's what I do.
<t184256> *to them from
<DigitalKiwi> hmm
<t184256> com.termux.nix/files does exist. From my apps point of view, it's like the most reliably existing place ever.
<DigitalKiwi> that was from adb shell
<t184256> Why do you keep looking on /sdcard?
<DigitalKiwi> i don't know where else to look i guess, i've tried looking other places
<DigitalKiwi> maybe the directories are forbidden
<t184256> It's "/data/data/com.termux.nix/files"
<DigitalKiwi> oh
<DigitalKiwi> ls: /data/data/com.termux.nix/files: Permission denied
<DigitalKiwi> sad day
<t184256> And if something is forbidden from accessing it, Nix-on-Droid is not
<t184256> So open it, `ln -s /sdcard/Music music`, and have your music both inside and outside it
<t184256> Is this something that you're after or do I keep misunderstanding your goal?
<DigitalKiwi> that might work
<DigitalKiwi> honestly i'm not even sure i understand my goal anymore :P
<t184256> It be like that =D
<DigitalKiwi> i just want to make it easier to add files to termux without being on the phone
<DigitalKiwi> (and since i'm having problems with ssh)
<DigitalKiwi> oh i royally screwed up the install somehow, had to reinstall
<t184256> If you don't care about permissions and stuff, just the contents, this is a viable way that also happens to be my setup
<t184256> DigitalKiwi: did you run the GC?
<DigitalKiwi> no
<DigitalKiwi> but should i not?
<t184256> yes, it's a known way to screw up in the current version =(
<{^_^}> t184256/nix-on-droid-bootstrap#10 (by Gerschtli, 2 weeks ago, open): Remove hardcoded paths in .login-inner and fixed links in /bin/sh and /usr/bin/env
<t184256> My approach is to regularly back up stuff and just wipe the app data (because I have to do it anyway to test new builds as I don't have dedicated hardware for that)
jtojnar has quit [Read error: Connection reset by peer]
jtojnar has joined #nixos-aarch64
zupo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
zupo has quit [Ping timeout: 268 seconds]
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 268 seconds]
zupo has joined #nixos-aarch64
<DigitalKiwi> t184256: ha! i got it
<t184256> DigitalKiwi: got what?
<DigitalKiwi> ssh in and have it setup a bash environment
<t184256> How do you run sshd, do you invoke it directly?
<DigitalKiwi> yeah
<DigitalKiwi> /data/data/com.termux.nix/files/home/.nix-profile/bin/sshd
<DigitalKiwi> and i changed the passwd file
<t184256> to point to bash?
<DigitalKiwi> yeah
<t184256> that's cool
<DigitalKiwi> nix-on-droid:x:10235:10235:nix-on-droid:/data/data/com.termux.nix/files/home:/data/data/com.termux.nix/files/home/.nix-profile/bin/bash
<DigitalKiwi> i couldn't get chsh to work
<DigitalKiwi> so i just edited it in vim
<DigitalKiwi> source ~/.nix-profile/etc/profile.d/nix.sh
<DigitalKiwi> [[ -r ~/.bashrc ]] && . ~/.bashrc
<DigitalKiwi> and that's my .bash_profile
<t184256> Yeah. A lot of system-management stuff is not expected to work
<t184256> Well, great to know! Also, enable a wake lock so that it doesn't get frozen mid-connection
<DigitalKiwi> oh and i did the authorized_keys as standard
<DigitalKiwi> PermitRootLogin prohibit-password
<DigitalKiwi> PasswordAuthentication no
<DigitalKiwi> and a Port
<DigitalKiwi> and you have to do ssh-keygen -A at some point before sshd will work
<t184256> Yeah, a key is a must because there ain't much to authenticate you against without it =D
<DigitalKiwi> indeed
<t184256> But what are the other options for? Are they necessary?
<DigitalKiwi> the permitrootlogin one?
<DigitalKiwi> probably not i guess if you have passwordauthentication no i'd think...
<t184256> Yeah.
<DigitalKiwi> cargo culted it :P
<t184256> OK, Port is needed to take a non-privileged one, got it
<DigitalKiwi> i modified the one from a standard Termux
<DigitalKiwi> hmm and there may be adb commands you need to run i'm not sure...i'll find out sometime and report back
<DigitalKiwi> has been a long day
<t184256> I doubt that
<t184256> Like, what for?
<DigitalKiwi> oh, i know
<DigitalKiwi> it was for ssh over usb
<t184256> Uh
<t184256> Quite a twisted setup you've got there =)
<t184256> Congrats
<DigitalKiwi> no no that was a separate thing
<DigitalKiwi> other than having to launch sshd with the full path it's pretty normal
<DigitalKiwi> though my bashrc doesn't work as well for some reason
<DigitalKiwi> the colors are wrong?
<t184256> IDK, is it the same in termux?
<DigitalKiwi> i don't think i tried
<DigitalKiwi> it'd help if i set the color
<t184256> DigitalKiwi: could you please summarize your findings somewhere, for example, in a github wiki page? I'd love to follow your steps one day, but through nix
<DigitalKiwi> at one point i remember (on the first one) it was removing a [ in my prompt
<DigitalKiwi> 08:48:41 [nix-on-droid@localhost ~]$
<DigitalKiwi> 08:48:41 nix-on-droid@localhost ~]$
<DigitalKiwi> something like that
<DigitalKiwi> i have a blog
<DigitalKiwi> i'm supposed to write up something about all of the 2FA apps i've tried recently
<DigitalKiwi> and update the gallery :|
<t184256> anything works for me. If you don't, I'll just copy-pasted the entire chat history somewhere to sift through later
<DigitalKiwi> https://twitter.com/ArchKiwi look at all these things i made and all i have are a few of the digital ones
<t184256> That's some colorful Nix logos
<DigitalKiwi> a lot of them went to #qfpl and a most of the rest will be at @nixconf
orivej has joined #nixos-aarch64
<DigitalKiwi> t184256: is any part of your setup online? what do you do with it
<t184256> No, it's not. I mainly use git, ssh and neovim, nothing too fancy. Certainly no services.
<DigitalKiwi> so what i had wanted to do was sync the files that are in termux with my syncthing client on my phone
<DigitalKiwi> that's why i was trying to find them
<t184256> AFAIK, vanilla termux uses the very same approach as my version in regards to file placement (at least for now)
<t184256> Which is "sdcard or nobody else sees them"
<DigitalKiwi> can you use .termux/boot/files
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has quit [Ping timeout: 245 seconds]
zupo has joined #nixos-aarch64
zupo has quit [Client Quit]
orivej has joined #nixos-aarch64
chiefgoat has quit [Quit: ZNC 1.7.5-rc1 - https://znc.in]
chiefgoat has joined #nixos-aarch64
orivej has quit [Ping timeout: 268 seconds]
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orivej has joined #nixos-aarch64
davidtwco has joined #nixos-aarch64
<DigitalKiwi> i guess i can just source them from profile or w/e
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
ryantrinkle has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #nixos-aarch64
ryantrinkle has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 240 seconds]
zupo has joined #nixos-aarch64
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ryantrinkle has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-aarch64
ryantrinkle has joined #nixos-aarch64
{^_^} has quit [Remote host closed the connection]
{^_^} has joined #nixos-aarch64
orivej has quit [Ping timeout: 265 seconds]
ryantrinkle1 has joined #nixos-aarch64
ryantrinkle has quit [Ping timeout: 276 seconds]
orivej has joined #nixos-aarch64
zupo has joined #nixos-aarch64
ryantrinkle1 has quit [Remote host closed the connection]
ryantrinkle has joined #nixos-aarch64
orivej has quit [Ping timeout: 276 seconds]
zupo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zupo has joined #nixos-aarch64
ris has joined #nixos-aarch64
<Ox4A6F> Thanks t184256.
<t184256> Um, not at all =)
wildtrees has joined #nixos-aarch64
vika_nezrimaya has joined #nixos-aarch64
zupo has quit [Ping timeout: 265 seconds]
ryantrinkle has quit [Ping timeout: 258 seconds]
orivej has joined #nixos-aarch64
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #nixos-aarch64