gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
tilpner_ has joined #nixos-chat
tilpner has quit [Ping timeout: 246 seconds]
tilpner_ is now known as tilpner
<bqv> i remember having a dream about nix once
<bqv> before i even used nixos!
drakonis has joined #nixos-chat
* colemickens is stressing about how to prefix/suffix flake repos
<bqv> i prefer unsegmented names
<bqv> e.g. i renamed home-manager to home
<bqv> the intention being to keep things simple by design
<bqv> if i need namespaces i'll make another flake a-la xontribs
rajivr has joined #nixos-chat
<drakonis> welp, i just found a reason to go back to nixos
<drakonis> i only have access to python 3.9 on fedora rawhide and the package i need only goes up to 3.8
<drakonis> AND
<drakonis> systemd-nspawn is broken
<drakonis> podman too
<drakonis> this outcome sucks
<drakonis> and now my honeymoon with non nixos distros has come to an end
<drakonis> once again.
<drakonis> i'm lasting less and less time now
<Ashy> haha
<Ashy> teams crashes on nixos when trying to screenshare and every time that happens i think "argh i should swap back to fedora"
<drakonis> then you'll miss nixos rather quickly
<Ashy> but then i think about everything else that would be lost
<drakonis> i'd suggest you to run it inside a container
<drakonis> its perhaps the optimal path
<Ashy> although, you could still use nix on fedora for the python stuff most likely
<drakonis> i'll check
<drakonis> but selinux is kind of weird on nix?
<drakonis> hmm no its fine
<drakonis> i think multiuser didnt work well
<drakonis> i'm going to work on migrating back to it tomorrow
<drakonis> i have to finish some php stuff today
<drakonis> speaking of which
<drakonis> nix has some kinda crappy php support
<Ashy> thankfully i've managed to avoid php for most of my career apart from a couple months of wordpress plugin hacking many years ago
<drakonis> i need it for a job
<drakonis> ahhh
<drakonis> i missed this
<drakonis> ah, wait, python is weird
<drakonis> it cant find the c++ dependency
<Ashy> i started doing this recently and really like it: 15.17.3.6. How to consume python modules using pip in a virtual environment like I am used to on other Operating Systems?
<Ashy> from the nixpkgs manual: https://nixos.org/nixpkgs/manual/
<Ashy> works out so you can just run `nix-shell` and it does the nix packages properly and then also automatically lands you in a venv for any packages not in nixpkgs
<Ashy> i've been meaning to get pipenv working within that setup too but havent got around to it yet
<drakonis> i do it in containers
<drakonis> sigh i need to disable selinux to use containers atm
<drakonis> rawhide is a messy thing
<Ashy> alternatively you could spin up a temp nixos machine somewhere
<Ashy> packethost supports nixos natively on their dedicated instances
<Ashy> i still can't believe they aren't more well known across the industry, they do dedicated instances as quickly and automatically as VMs on aws/linode/etc
<Ashy> and it's hourly pricing with spot pricing available
<drakonis> packet isnt very cheap for me
<drakonis> i'm using linode
<drakonis> i'm starting small for now
<Ashy> yeah true
<drakonis> i cant afford to pay packet right now
<Ashy> they're dedicated servers so don't go as small (and cheap) as VMs
<drakonis> yeah
waleee-cl has quit [Quit: Connection closed for inactivity]
<bqv> vivaldi works way better on my xwayland than firefox
<bqv> i think i'll make it my new backup browser
<colemickens> packet can be cheap if you get their spot instances
<bqv> Every decent browser is either chromium-based or firefox-based
<bqv> Mostly the former
<bqv> There's a big lack of competitivity
drakonis has quit [Quit: WeeChat 2.8]
<Ashy> bqv: it's probably roughly the same amount of effort as developing a new, modern, secure, full feature os kernel
<Ashy> not the sort of project a few hackers can whip up in a couple months
<samueldr> I think it's way more effort than that
<samueldr> kernel + userland + gui
<Ashy> yeah true
<bqv> Ashy: sure, I don't underestimate it, but I also don't like the internet being all but owned by google
<samueldr> the best non-gecko non-webkit alternative I know if is likely netsurf's
<samueldr> I know of*
<Ashy> bqv: i completely agree (and run firefox as my main browser because of that)
<samueldr> which is... not good if you just run it and don't think try to see how complex it is to do
<samueldr> but when you realize how much work there is in there it's... mind boggling
<samueldr> most of this is to implement the (cross-platform) browser https://source.netsurf-browser.org/
<Ashy> i forget which chrome bug it was a year or two ago where it was a simple memory double free or similar, a comment on hackernews really put it into perspective for me
<samueldr> their (wip) javascript comes from a third-party project
<Ashy> "chrome is likely humanity's largest attempt at a secure piece of code ever, and even with all the funding and tooling and countless 'best and brightest' working on it, human error made it through into production"
<Ashy> it was an argument in favour of memory safe languages/compilers
* colemickens is wondering what term emu devs expect people to do when SSHing and they don't have alacritty/kitty/termite terminfos installed on their servers?
<samueldr> I wonder if they all end up using tmux with their terminal so they don't see that issue
<samueldr> wherein tmux can mediate and act as xterm-256
<samueldr> which makes me think, it must be possible to make a wrapper program that does only that
<samueldr> consume your local terminfo and act as xterm-256
<colemickens> heh tmux isn't in my default minimal rollout either BUT I do like that workaround more than forgetting in every new term, logout, set TERM, login again
<colemickens> (then realize I forgot -A, then think about setting up sshconfig but never really do)
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
<samueldr> oh, I'm not saying it's a solution, but maybe explaining how it happens that they don't have issues
evanjs has joined #nixos-chat
drakonis has joined #nixos-chat
<colemickens> how has mic92/cntr not gotten more attention, seems really nice
<Mic92> colemickens: yeah. I tried to make more advertisement, but the container field is competitive so if you are not a big corp...
rardiol has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
rardiol has joined #nixos-chat
<cole-h> colemickens: 👀 Thanks for the ping -- I had subscribed to that issue but forgot to actually try it lol. Testing it out now...
<colemickens> cole-h: if you're doing in HM and get it working, you know who's interested
<cole-h> omg no way
<cole-h> I've got color emoji back in Alacritty 😭
<cole-h> colemickens: I'll see if it works with HM-only, please hold.
<colemickens> although, I can see that emoji so maybe I shouldn't jinx it. Do you have a color emoji test you use for terminal? I'm more concerned about firefox
<cole-h> 😂 is my test emoji lol
<cole-h> My firefox test is searching "joy emoji"
<cole-h> colemickens: So, h-m works.... ish.
<cole-h> colemickens: xdg.configFile."fontconfig/fonts.conf".test = ......
<cole-h> However, for me, this is what my emoji become: https://i.imgur.com/Ji9goRc.png
<cole-h> whereas with fonts.fontconfig.localConf, they look like this: https://i.imgur.com/yN4bbUg.png
<cole-h> So it "works". I didn't notice any problems in Firefox though, so if the above doesn't bother you, it should be fine.
<cole-h> colemickens: ^
<cole-h> jk
<cole-h> Wait uh
<cole-h> nevermind
<cole-h> That was with both ~/.config/fonts.conf and fonts.fontconfig.localConf :D
<cole-h> colemickens: So yeah, h-m is no-go if you don't want numbers -> emoji
<cole-h> ~/.config/fontconfig/fonts.conf, I ment
<cole-h> jfkldsjl
rardiol has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
<cole-h> OK bedtime. Thanks again colemickens -- let me know if you have any success experimenting further (though I'm satisfied with the NixOS localConf option)
rardiol has joined #nixos-chat
cole-h has quit [Quit: Goodbye]
<colemickens> I keep having issues with sops.
<colemickens> sops -e file --output file.enc doesn't work
<colemickens> in-place will clobber in-place on error
<colemickens> oh, it's very sensitive to the order of flags: https://github.com/mozilla/sops/issues/716#issuecomment-670381797
* colemickens coughs and it sounds like RIIR
<eyJhb> adisbladis: https://termbin.com/28h6y this one, to allow pr. profile policies :) - Could be seen as a security fault, but atm. it is still possible to place them in /run/user/:uid/... so it is the same, just with more flexibility so that it could be used in Home-Manager , as the current ways to install extensions is hacky and this is the only official way (using policies to install them on
<eyJhb> start)
<colemickens> Mic92: do you have a drone-ci nixos module hiding somewhere?
<colemickens> more to explore. thanks!
<Mic92> colemickens: my server is now CI/CD!
<Mic92> It even works shows up in githubs as deployments
<colemickens> I can't wait to just copy this tomorrow.
<colemickens> I'm on builds.sr.ht now but I'm so glad I saw you putting drone in sops-nix.
waleee-cl has joined #nixos-chat
parsley936 has joined #nixos-chat
<eyJhb> I have a small feeling, that my teacher is flipping rows and coulmns notation for each time he writes it up
<eyJhb> ... Any new terminal I open after having disconnected my QHD monitors the font will be really really small
monsieurp has quit [Remote host closed the connection]
monsieurp has joined #nixos-chat
<philipp[m]> eyJhb: Mathematician? Probably one of those "it's symmetric anyway and should be clear from context" cases. I hate them.
<eyJhb> philipp[m]: he does it with 1x3 matrices as well
xd1le has joined #nixos-chat
<philipp[m]> I had such a teacher. It was really annoying.
<ar> eyJhb: it seems like something is automatically adjusting dpi for you
<ar> eyJhb: are you on xorg, or wayland?
<eyJhb> xorg with picom compositor
<eyJhb> And i3 + urxvt
<adisbladis> eyJhb: Then I think the answer is no
<adisbladis> We are allowed to apply patches to firefox, but not ones that change it's functionality
<eyJhb> adisbladis: as far as I read, the comment was that we cannot change the user experience, which doesn't seem like what we are doing, by allowing them to be loaded from a new dir, which basically is the same.
<eyJhb> Since it is currently user controlled anyway
<adisbladis> Hm, I dunno
<eyJhb> Trying to ask Mozilla again
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-chat
<eyJhb> `Therefor, as long as you keep the patch queue sane and you don't alter the experience of Firefox users, you won't have any issues using the official branding.` - `As they are just for portability and tiny modifications, they don't alter the experience of the product.`
Jackneilll has quit [Ping timeout: 240 seconds]
Jackneilll has joined #nixos-chat
AluisioASG has joined #nixos-chat
cjpbirkbeck has joined #nixos-chat
AluisioASG has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
neeasade has joined #nixos-chat
waleee-cl has quit [Quit: Connection closed for inactivity]
<eyJhb> Catch up, was greenlighted to be OK by Sylvestre
evanjs has quit [Read error: Connection reset by peer]
evanjs has joined #nixos-chat
noonien has quit [Quit: Connection closed for inactivity]
<adisbladis> Ugh
<adisbladis> I really hate the fact there is an unofficial nix discord thingie
<lassulus> I always mix up discourse and discord
<adisbladis> And that we hve some community members promoting it :/
<hexa-> same, same!
<hexa-> same opinion on the unbridged matrix channel
<adisbladis> What do we need to do to bridge it?
<hexa-> click on the integration manager, request the irc bridge
<joepie91> I'd think carefully before doing that
<joepie91> the set of people between the Matrix room and the #nixos IRC channel seems to be fairly non-overlapping, and IME there's a significant difference in answer rate
<joepie91> in that I almost never get a useful answer in #nixos but very often get one in the Matrix room
<joepie91> it's probably a good idea to first figure out why that is, before bridging the two together
<hexa-> the matrix room has the same amount of users but much less traffic afaict
<joepie91> it's certainly quieter
<bqv> adisbladis: same
<bqv> Also, matrix irc bridges are literal dogshite, avoid if you can
<das_j> bqv: Once you got used to the node stuff, it's quite okay
<das_j> (reference: this conversation is running over one)
<joepie91> das_j: two, probably :P
<bqv> Are you running a custom one?
<das_j> yes
<bqv> The matrix.org one at least is abysmal
<joepie91> I use the pixie.town bridge, not the matrix.org bridge
<adisbladis> I think the matrix/discord situations are very different
<das_j> I hate the [m] suffix and also I don't really want my IRC password to get there
<hexa-> small bridges have small fallout, large bridges … well
<joepie91> das_j: you can remove the [m] suffix without running a custom bridge, FYI
<adisbladis> Bridging the Matrix room is mostly about reducing community fragmentation
<joepie91> a !nick should be enough
<bqv> Thing is, at the point I run my own bridge, I might as well use a bouncer
<bqv> So I don't get that
<adisbladis> But Discord is sort of the antithesis off the FOSS ethos
<das_j> TIL
<hexa-> bqv: the point is about having one chat client, not two
<das_j> bqv: Yeah but I only need one client
<bqv> So you use matrix as your irc bouncer
<bqv> Lol
<joepie91> adisbladis: I think reducing community fragmentation is a good idea, but I also think that we separately have a support load problem in #nixos where there's too many people with questions and not enough people with answers, and this doesn't seem to be an issue in the Matrix room and it'd be unfortunate if the issue spread there
<bqv> Interestin,
<das_j> basically, yes
<bqv> Yeah I prefer weechat and simple protocols, I'll stick to irc
<joepie91> (I agree that Discord is a different story entirely)
<adisbladis> It pains me so much to see some people promote it :/
<bqv> Apparently tencent has shares in it
<bqv> It might hit by trumps chinageddon
<adisbladis> You don't build resilient long-term communities on non-free software
<joepie91> adisbladis++
<{^_^}> adisbladis's karma got increased to 110
<philipp[m]> joepie91: Is the pixie.town bridge public?
<joepie91> philipp[m]: ish. anyone can use it but pixie.town is currently already kinda dying under the load :)
<philipp[m]> So... much like matrix.org 😂
<bqv> Pixie.town is one of those witchy mastodon communities isn't it
<joepie91> so preferably only use it for channels already bridged
<joepie91> philipp[m]: worse, currently
* joepie91 has some... Opinions about Synapse
<joepie91> bqv: there's a mastodon instance, but I don't think it
<joepie91> it's particularly witchy *
<joepie91> :P
<philipp[m]> Everybody has those, including the devs I think.
<philipp[m]> There is a reason for dendrite...
<bqv> Matrix really does need way more federation
<das_j> oh while the talk is still around bridges: do `code blocks` show up in IRC somehow (like with backticks)
<das_j> ?
<bqv> First thing anyone sees is matrix.org, everything else is an afterthought, that's just a PR mistake, intentional or otherwise
<joepie91> dendrite needs to hurry up
<joepie91> das_j: exact cutoff depends on bridge config but typically anything >N lines gets autopastebinned
<joepie91> like so:
<joepie91> ```js
<joepie91> console.log(2);
<joepie91> console.log(3);
<joepie91> console.log(1);
<joepie91> console.log(4);
<joepie91> console.log(5);
<joepie91> ```
<das_j> oh so the backticks get transferred as-is
<hexa-> yep
<joepie91> das_j: technically dependent on the client actually
<das_j> sad the bridge doesn't convert that into code blocks the other way (IRC -> Matrix)
<joepie91> most (all?) clients support Markdown I think, but Element will send the markdown as the plaintext version, whereas some other clients will send a markup-stripped version
<joepie91> das_j: how do you mean?
<das_j> I see your message in backticks instead of the bridge converting that into markdown code
<joepie91> das_j: I'm... confused. what do you mean with "converting that into markdown code"?
<joepie91> das_j: oh wait, you mean un-pastebinning and Markdown-parsing on *your* bridge so that you get markup in your Matrix client?
<das_j> almost, yes. Just for `inline code`, that should be easier
<das_j> this stuff
<joepie91> das_j: can't do that reliably because it can't know whether the output was bridge-produced or just a normal IRC user
<das_j> so? Just convert it all
<joepie91> that's going to cause a lot of issues
<joepie91> not everything that looks like Markdown is actually intended as such
<joepie91> unrelated
<joepie91> I have a sad...
<das_j> yeah :/ probably
<das_j> joepie91: That reminds me of an annoying german song
<hexa-> what weather widget is that?
<das_j> Andreas Schrägle knows what I mean
<hexa-> ah hm, I wish home-assistant had something more like that
<joepie91> it's a pretty decent widget
<philipp[m]> So, if I have eth0 and bridge that (for now) on it's own to br0, I should just add alle the configuration I previously had for eth0 and it should still work, right?
__monty__ has joined #nixos-chat
<eyJhb> ,location bin xmllint
<eyJhb> ,locate bin xmllint
<{^_^}> Found in packages: libxml2.bin, libxml2Python, python27Packages.libxml2.bin, python38Packages.libxml2.bin
tilpner has quit [Remote host closed the connection]
tilpner has joined #nixos-chat
drakonis1 has joined #nixos-chat
<bqv> adisbladis: flakes should make it very easy to update nixpkgs automatically for emacs-overlay
<bqv> you can then use flake-compat if you want to maintain compatibility with non-flakes
<adisbladis> bqv: Well... Even _if_ flakes was considered stable right now that would be at least a year away.
<adisbladis> nixpkgs has a script to bump emacs packages from the overlay
<adisbladis> It's just not automatically used by anything
<jtojnar> joepie91: do you have a go-to js library as a fetch replacement? (with AbortController support and timeouts)
<jtojnar> axios seems to be popular but it is a beast and the canceltoken is ugly
<jtojnar> I imagine there must be some nice functional library but did not find anything
<jtojnar> that would play well with AbortController
<joepie91> jtojnar: nope, sorry. I am reluctantly using axios when I need browser support, otherwise I use bhttp which is my own library but which does not have browser support yet
<joepie91> also axios mainly is just badly documented :P\
<jtojnar> too bad, I guess I will just go with my ugly hacked together combinators, anyway thanks
<joepie91> jtojnar: aside, I'm curious what sort of API you're thinking of with "functional library"
<jtojnar> joepie91: just some simple functions to wrap around fetch like https://www.npmjs.com/package/fetch-defaults or https://github.com/manuscriptmastr/fetch-friends
<joepie91> hmm, composable config
<joepie91> ?*
<bqv> i want to install a different distro on my chromebook
<bqv> but i'm not sure which
<bqv> something other than nixos would be nice
<bqv> get some diversity
<infinisil> Hanna Montana Linux
<bqv> infinisil: i will cut you
<joepie91> bqv: TRAITOR!
<bqv> i still use nixos on three(3) devices
<bqv> i just like diversity
<joepie91> jtojnar: will give it a think, thanks
<joepie91> jtojnar: wonder if it'd be useful to have a composable model for bhttp like I've built for Validatem
<bqv> galliumos looks nice, but it's based on ubuntu
<bqv> i feel like going from nixos to a 'buntu derivative is a hell of a leap
<adisbladis> bqv: What about Biebian?
<bqv> oh for..
<bqv> hey maybe i'll just install guix on it, lol
<bqv> neat, i'm not the first https://b.agaric.net/page/c302-guix
<adisbladis> It is friday after all
<bqv> i swear to god
<bqv> stop this
<philipp[m]> Wasn't the entire point of rebecca black os to have an experimental wayland platform that surely nobody in their right minds would use?
<adisbladis> bqv: Do you know Korean?
<drakonis1> red star os...
<adisbladis> Exactly <3
<Valodim> ....GNU Guix
<cransom> all these suggestions are just as sensical as wanting to have a machine running a linux that isn't nixos.
<adisbladis> bqv: Or maybe you're more into japanese and want anime things? http://moebuntu.web.fc2.com/home_eng.html
<cransom> my eyes
<bqv> oh, yeah i think that worked, cause i remember wanting to try rbOS once, but refusing to cause of the name
<bqv> i'm going with guix
<bqv> suggestions can stop now ty
<bqv> before i have an aneurysm...
<adisbladis> Oh, I just remembered this one http://www.ponyos.org/
<adisbladis> Though it's not linux
<bqv> cransom: i mean, it's a machine i rarely use, and trying different things is always good, right?
<drakonis1> my little nixos: linux is magic
<adisbladis> bqv: You are now subscribed to adisbladis's linux distribution tips
* bqv aaaaaaaaaaa
<adisbladis> To unsubscribe, send a letter to ....
<drakonis1> bqv: guix on a chromebook...
<drakonis1> living vicariously through strange software/hardware combos
<bqv> why not? :D
<bqv> hahaha
<bqv> the irony makes it even better
<bqv> now i want to do it more
<drakonis1> you'd have no support for it :V
<bqv> guix is just the distro, as long as linux works on it, and apps do, no problemo
<drakonis1> i'm deciding whether to chuck my nixos instance on linode or vultr
<bqv> and if linux doesn't work on it then i'm fscked either way
<drakonis1> i'll have to manually install on either
<drakonis1> https://b.agaric.net/page/c302-guix bqv its hard work
<bqv> i posted that link above :p
<drakonis1> oh
<drakonis1> well, again, this looks like hard work
<bqv> setting up any nonchromeos is hard work
<bqv> so meh
<bqv> if i'm gonna do one, it's gonna be something decent like guix, not a 'buntu
<drakonis1> hermes :V}?
<drakonis1> :V?
<adisbladis> bqv: Maybe you want to get your prayer on? https://ubuntuce.com/
<bqv> hang on
<bqv> i know what this is gonna be
<drakonis1> what about debian satanic edition?
<bqv> no.
<drakonis1> itc: shitposting
<bqv> to be honest, it's kinda awful how nixos has ruined every linux distro for me that isn't nixos or guix
<drakonis1> same
<adisbladis> I had to use debian yesterday
<adisbladis> I almost died
<bqv> lmao
<drakonis1> nixos fandom represent
<drakonis1> gonna set up on linode and on my desktop
<drakonis1> that daemon that rewrites shellscripts to point to store locations is a good boy
<drakonis1> best boy
<bqv> heh
neeasade has quit [Ping timeout: 256 seconds]
<jtojnar> joepie91: not sure how useful it is in reality – in the end, I just need five different variants of fetch, four of those can just be controlled by intercepting the fetch options and disabling the tweaks based on that
<adisbladis> Oh, this is a thing https://bedrocklinux.org/
<adisbladis> It's not funny though, just weird
<joepie91> jtojnar: can't you do this with axios.defaults?
<joepie91> errr
<bqv> i'd like to do this guix install now, but sadly all of the air upstairs in my house is actually on fire so that's not gonna be happening
<drakonis1> i've used bedrock before
<joepie91> axios.create I mean
<drakonis1> its... interesting
<drakonis1> i feel i'd get more mileage from using containers for that though
<bqv> adisbladis: that looks upsetting
<drakonis1> someone implemented lisp in lu
<bqv> though it'd be cool if it meant i could have nixos running with void's runit system
<drakonis1> lua
<drakonis1> impressive...
<samueldr> adisbladis: bedrock seems like a technical feat, I knew of bedrock from way before I started using NixOS, and it seems they achieved their goals
<samueldr> I even almost started using bedrock
<jtojnar> joepie91: yeah, that would probably work for me, the cancellation is still ugly, though
<jtojnar> I would like if the returned promise had an abort method that would be forwarded to the AbortController (e.g. https://github.com/miton18/abortable-fetch/blob/master/src/index.ts). But that would not be composable at all.
buckley310 has joined #nixos-chat
<joepie91> jtojnar: cancellation is a long-running issue
<joepie91> jtojnar: the solution is actually relatively simple, as far as I can tell: instead of returning a promise, return a { promise, abort }
<joepie91> idem for things that need to update you of progress
<joepie91> { promise, progressStream }
<jtojnar> yeah, that is what I am doing
<joepie91> that way the promise remains composable but you can wrangle the additional thing as-needed
<joepie91> jtojnar: right, but I mean as a standard :P
<bqv> "modifications in developer mode may void your warranty" as if you'd have upheld warranty anyway you pricks
cole-h has joined #nixos-chat
drakonis1 has quit [Ping timeout: 246 seconds]
drakonis has quit [Ping timeout: 265 seconds]
drakonis has joined #nixos-chat
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos-chat
parsley936 has quit [Remote host closed the connection]
parsley936 has joined #nixos-chat
drakonis1 has joined #nixos-chat
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos-chat
waleee-cl has joined #nixos-chat
<drakonis1> aiiiiight
<drakonis1> time to set up nixos on my linode
neeasade has joined #nixos-chat
<bqv> bleh, so guix has no installers for aarch=}
<bqv> *aarch64
<bqv> nix does...
<bqv> am i doomed to have nixos on every device?
<bqv> i guess i am
<drakonis1> yeah its a thing
<drakonis1> guix has a problem with being friendly to people outside of their sphere
<bqv> :/
<bqv> are there any nixos-based distros that are actually usable?
<crazazy[m]> are there nixos-based derivatives?
<drakonis1> no
<drakonis1> well
<drakonis1> i think someone in this channel was doing that
<bqv> i said usable :p
<crazazy[m]> lol
<colemickens> office hours today? casual jitsi call to hear what fun nix things people are doign?
<crazazy[m]> bedrock is only for creting your own frankendistro
<colemickens> I think there are.
<colemickens> I can't remember their names or if they're active
<crazazy[m]> wait shit im replying to old messaged
<drakonis1> bedrock is casually insane
<drakonis1> but it works
<colemickens> but there have been nixpkgs forks and "distros" built with nixos
<drakonis1> it has happened before
* colemickens sorta read the scrollback wrong
<drakonis1> but only the original one remains
<crazazy[m]> im thinking i guess you can also make a mix up between the nix package manager and kiss-linux
<crazazy[m]> their files are very standardised, so in theory you can use nix expressions to parse through a folder and build a package out of it
<drakonis1> ehhhh
<bqv> hold up
<bqv> jotto matte
<bqv> apparently i have the only chromebook where you can't disable write protect
<bqv> are you fucking kidding me
<bqv> i'm stuck with chromeos
<crazazy[m]> oof
<crazazy[m]> good luck
<bqv> fuck that, i'm selling it
<crazazy[m]> was it a new one?
<drakonis1> oof
<bqv> newer than my old one, but still 2 years old now
<crazazy[m]> wait so you cant use croissant or whatever that terminal is called either?
<bqv> croissant, lmao
<bqv> no i can do crostini
<bqv> it's just, i wanted to remove all the google cruft
<bqv> being forced to use chrome is rude
<crazazy[m]> true
<crazazy[m]> though the idea of a web based OS is kinda neat
<crazazy[m]> i wish firefox OS had taken off
<drakonis1> my box... it has nixos again
<drakonis1> finally
<crazazy[m]> neato
<drakonis1> i have returned
<samueldr> bqv: which model is your chromebook?
<bqv> c101pa
<drakonis1> aight time to wait for the dns to finish syncing
<bqv> see link above
<samueldr> I wasn't sure if it was the same model
<bqv> oh
<samueldr> gru-bob 100% can have its write-protect disabled
<bqv> how?
<bqv> much appreciated, there's hope yet!
<samueldr> *and* there's at least one other member of the nixos community with a gru-bob
<bqv> neat
<samueldr> playing with upstream coreboot https://github.com/lheckemann/coreboot-gru-bob-nix
<samueldr> AFAIK *all* chromeos devices have their firmware storage device (SPI flash) accessible in some ways; older devices generally have a write protect screw or switch, newer devices is mediated through the cr50 chip without a screw
<samueldr> and AFAIK only bob has that weird combination of screw+cr50
<joepie91> "write protect screw" -- ... what?
<samueldr> joepie91: for their bios
<samueldr> (if we simplify)
<bqv> interesting. well, sounds like this guy has it cracked
<joepie91> I have difficulty imagining a screw form factor
<samueldr> a screw, accessible only once the device is opened, which bridges two pads on traces
<bqv> i dont have a suzyqable but i can get one if i fuck up
<thefloweringash> You shouldn’t have to disable write protect to install Linux. Only if you want to poke at the lower layers.
<samueldr> bqv: ^
<cransom> i kind of dig it.
<samueldr> thefloweringash: though if bqv wants to change the boot order, or ensure the developer mode doens't get blown away by a low battery, it is required
<bqv> huh
<bqv> what about making the ear curling developer-mode beep go away?
<samueldr> I think it's part of it too
<crazazy[m]> the bios/uefi beep you mean?
<bqv> yeah, i probably do wanna reflash then
<bqv> yeah
<samueldr> crazazy[m]: when in developer mode, chromeos devices will beep quite angrily and loudly on the boot screen by default during the boot process if it's left to continue unattended
<bqv> it beeps obnoxiously and displays a big warning if it's not in chromeos signed mode or whatever
monsieurp has quit [Quit: leaving]
<colemickens> if anyone is super bored and has infinite free time, esphome would be a cool thing to nixify, imo.
<crazazy[m]> oh thats worse than the beep i was talking about
<samueldr> that's a measure used to help the user know that the security assurances of the chromeos devices have been partially neutered
monsieurp has joined #nixos-chat
<samueldr> crazazy[m]: way worse, it's quite loud and angry
<crazazy[m]> when i enter the boot menu my laptop just does BEEP and thats it
<bqv> wtb using that beep as an alarm sound, it'll wake up a coma patient
<samueldr> chromeos devices will go "BOOOP BOOOP" after a delay during the boot when set in developer mode
<samueldr> just thinking about the sound gives me chills
<samueldr> (I don't like *things* making noises)
<joepie91> soon: vegetables
<samueldr> if you look closely, the screw holes as distinct electrica pads each side
<samueldr> electrical*
<samueldr> it's a pretty good way, imo, to assert physical control of the device
<joepie91> interesting
<samueldr> another way to do this, in recent chromeos devices, is to have the battery be disconnected from the motherboard
<samueldr> though most of them that support that also support just plain unlocking through cr50
<samueldr> which asserts physical presence by forcing the user through a tedious game of "simon says" "press the power button now" for about 3 minutes
<samueldr> (you have relatively short windows of time to do it)
<samueldr> the power button has (I think) an NMI (non-maskable interrupt) so it's not as simple as sending the key event
<samueldr> joepie91: a bit similar
<samueldr> though with prompts on the CLI
<joepie91> ah :P
MichaelRaskin has joined #nixos-chat
<colemickens> gpg makes me cry but it looks like age/rage might get PIV support and I could knock off a bunch of my gpg usage. If Android Password Store could do PIV... I could conceivably stop using GPG
<colemickens> I cant even figure out how to get a machine readable subkey without awking or cuting it to pieces
rajivr has quit [Quit: Connection closed for inactivity]
<bqv> why are chromeboks such a headache
<bqv> i don't even have the right screwdriver to get the case off
<bqv> ffs
<bqv> spoke too soon, found one
<bqv> and here i thought my days of losing tiny screws on the carpet were done
<eyJhb> Silly bqv
<eyJhb> IT never is
<bqv> it's fine, i wasn't using that screw anyway :'(
<eyJhb> The sound of a broken man
<eyJhb> This dependabot...
<sphalerite> samueldr: I don't think it's so much a matter of it being an NMI as a matter of the power button not being connected directly to the AP at all?
<sphalerite> bqv: yay bob buddies!
<samueldr> oh, possibly, mediated through cr50
<samueldr> because the OS can see that button
<sphalerite> samueldr: exactly
<samueldr> still, acts as an NMI
<sphalerite> or the EC which passes it to both the AP and the cr50
<samueldr> but yeah, possibly right
<bqv> sphalerite: hey, do you know where the screw is?
<sphalerite> in any case I'm pretty sure the AP isn't involved in it at all
<bqv> i took a food break
<bqv> but i need to hunt it down
<eyJhb> bqv: thought you didn't need it?
<bqv> eyJhb: not that one >_>
<eyJhb> A NEW one?
<bqv> the write protect screw
<sphalerite> bqv: I have a picture of it somewhere for sure, hang on
<bqv> also yeah, i just want to reflash the bios cause fiddling with googles is suffering incarnate
<sphalerite> indeed
<sphalerite> though be warned, other firmwares also aren't the purest of joys either
<bqv> howso?
<sphalerite> I got it working with u-boot, but not with u-boot being able to display anything
<eyJhb> Having --builders DL to my machine, to then copy to the builder, seems like there could be a better way
<bqv> oh
<bqv> huh
<sphalerite> also got it working with linuxboot, but that was fucky in many ways, very slow, and also couldn't display anything
<eyJhb> Guessing you can touch type bqv ?
<sphalerite> (u-boot not being able to display anything -> because it doesn't support the hardware)
<bqv> eyJhb: yeah
<bqv> sphalerite: that could be fixable
<sphalerite> I started trying to implement support for the hardware, but gave up after probably about 10h of work
<sphalerite> I just felt completely out of my depth
<bqv> i dunno, as long as i can boot a usb, i'll be happy
<bqv> then i can install nix and be happy
<sphalerite> what might be the best option for you is just setting the gbb flags
<samueldr> sphalerite: maybe the upcoming changes for the PBP will help
<samueldr> depending on how the display is connected
<bqv> sphalerite: what does that require?
<samueldr> and yeah, GBB flags are most likely what you want
<sphalerite> then you can use the stock bootloader but disable the beeping and change the boot order
<sphalerite> that still requires write access to the flash iirc
<bqv> geh, ok
<bqv> that'll do then
<sphalerite> but it's easier and more reliable
<bqv> ok, time to find that screw
<sphalerite> bqv: I'm still almost certain I have a picture of it somewhere
<sphalerite> that said, it shouldn't be hard to find once you have the case open
<sphalerite> I think it's the only one with a split pad
<eyJhb> There actually is a r/w protection screw?
<sphalerite> yes
<eyJhb> Damn
<eyJhb> I would have guessed it would be, bridge this to get R/W, instead of remove this to get R/W
<sphalerite> why that?
<sphalerite> you'd have to ship the screw together with the laptop and an explanation
<sphalerite> or the people who want r/w access would have to get a screw separately
<sphalerite> grmph, I don't seem to have a picture of it after all
<eyJhb> I mean, I would have guessed it was for service and they didn't want the end user touching it
<eyJhb> If it is intended behaviour, and they want you to have that ability it is the right way to go
<sphalerite> nah it's intended behaviour, I really like this model.
<eyJhb> What model and what is it?
<samueldr> intended behaviour because the chromeos team apparently is a shining example in showing how to empower the end-user with their hardware
<sphalerite> provides decent security for users who don't care, while empowering people who do
<eyJhb> Seems nice
<sphalerite> eyJhb: most chromebooks have the model in general, specifically a write-protect screw is in the C101PA and a number of older chromeos devices
<eyJhb> I have considered flashing my own laptop
<bqv> ok im struggling to even open the case
<sphalerite> eyJhb: most recent hardware has different physical-presence-assertion tests, and a way to lock it permanently with a password
<bqv> wtf
<bqv> how does this work
<sphalerite> bqv: have you undone the screws under the feet?
<samueldr> (and as far as every one knows, it's permanently permanent if you forget the password)
<bqv> the rubber circles? i took one off but it didn't have a screw under it
<eyJhb> sphalerite: Niiice :D
<bqv> am i missing something...
<sphalerite> bqv: nice luck, there's exactly one of those that doesn't have a screw under it xD
<eyJhb> But a chromebook with NixOS, there is a must for a build server then
<bqv> FFS
<bqv> omg you're right
<eyJhb> :D
<sphalerite> the two hinge-side feet have two each, and the remaining one has one
<samueldr> eyJhb: any lower-powered hardware
<eyJhb> Yeah
<samueldr> eyJhb: but chromebooks are not exclusively lower-powered!
<eyJhb> Any 16 GB + of ram?
<samueldr> I tried an Acer model with 16GB of ram and an i5
<eyJhb> Sweet
<samueldr> if it hadn't been for the fact that I had no need for a new laptop at the time, I would have kept it
<eyJhb> But then again, doesn't there idea.. like, it should be small, light and browse the web?
<sphalerite> bqv: I shall be going to bed shortly, but if you have any questions or interesting experiences or anything please share, I'm really excited that finally another nixos user has a bob x)
<samueldr> but since I had no need, I told myself the stupid lie "there's going to be a better model down the line"
<samueldr> which it seems there isn't yet :|
<eyJhb> samueldr: the constant fear..
<samueldr> eyJhb: nah, a chromebook is a laptop with a specific set of firmware and software
<bqv> heh
<eyJhb> Btw, samueldr how easy is it to port devices to mobile NixOS?
<sphalerite> bqv: maybe you know about this already, but https://github.com/thefloweringash/kevin-nix/ is great, it has everything you need to get nixos running on there with the stock bootloader
<samueldr> eyJhb: other than that there's no "rules" really, except what people perpetuate in a self-fulfilling prophecy
<eyJhb> And is there a current desktop env?
<samueldr> eyJhb: from trivial to impossible, depending on the device
<sphalerite> bqv: (kevin is almost identical to bob, it has a better screen and different case and stuff
<samueldr> eyJhb: haven't worked on end-user software packaging yet
<bqv> ah, ok
<bqv> tyty
<sphalerite> samueldr: maybe you should make an FAQ page because I've seen people asking you this question soooo much x)
<eyJhb> sphalerite: I think samueldr enjoys it
<eyJhb> As far as I remember, it was "fairly" easy
<samueldr> sphalerite: which question? porting a device or end-user software?
<sphalerite> samueldr: end-user software
<samueldr> sphalerite: wrong
<samueldr> sphalerite: both
<sphalerite> oh fair enough haha
<sphalerite> but the UI side is always what people ask me first when I mention mobile-nixos
<samueldr> I should work on that, since no one added questions
<eyJhb> I see no LG phones
<eyJhb> Might not be a good thing to try
<joepie91> samueldr: +1 on that dev approach
<joepie91> sounds similar to what I do
<samueldr> eyJhb: LG phones in north america are generally in the "impossible" range because they all have locked bootloaders
<joepie91> though I usually call it "frontloading"
<joepie91> samueldr: aside, are you also targeting obscure chinaphones?
<samueldr> joepie91: as long as the kernel source is available, it could
<samueldr> joepie91: but if it isn't, then it's "another kind of project"
<joepie91> heh, that sounds like effectively no :D
<samueldr> it's possible to piece together something with other sources
<joepie91> chinaphone vendors are generally Not Great about this
<samueldr> because often components are available in other devices
<samueldr> yeah
<sphalerite> but getting any device to the same level as postmarketos should be fairly easy, right?
<samueldr> but that's out of scope of
<samueldr> of Mobile NixOS proper
<samueldr> but something I would do "for fun", or maybe more aptly said: just because
<samueldr> sphalerite: ye
<samueldr> yes*
<samueldr> basically once a device+kernel "port" is done within Mobile NixOS, you have approx. 0 device-specific things to do for everything to just work as with other devices
<joepie91> samueldr: would be interesting to see it running on the Oukitel WP5, cheapo rugged phone
<samueldr> two months ago I ported the first mediatek phone, and once the kernel was booting, it basically just worked
* colemickens should push the pixel3 stuff. someone might find it useful
<colemickens> I did get screen corruption on one, I think I said. a sign of life.
<sphalerite> bqv: aaah I found the picture if you're still interesting?
<samueldr> colemickens: please open a PR with your WIP :)
<sphalerite> interested*
<bqv> sphalerite: got it open!
<bqv> so yes
<joepie91> oh you have it running on mediatek stuff? interesting
<samueldr> joepie91: yeah, xiaomi and asus are two OEMs with mediatek who release sources
<sphalerite> bqv: though since I don't have syncthing running on my new laptop properly yet it's probably easier to explain
<samueldr> I even got in touch with ASUS to (successfully) get the latest source update they forgot to release
<joepie91> samueldr: I should ask Oukitel for it
<joepie91> what sources specifically do you need?
<samueldr> kernel
<sphalerite> bqv: the screw is right next to the battery, and there's an indent in the black plastic "sheet" that makes space for it
<samueldr> though in the future other bits would be helpful, but generally they don't _have_ to release non-GPL stuff
<joepie91> right
<joepie91> well that is not helpful
<samueldr> there's a TWRP which uses the OEM's pre-built kernel https://github.com/dwastell/twrp_Oukitel_WP5
<samueldr> so that must mean that the bootloader can be unlocked
<bqv> im lost
<bqv> sphalerite: which one's the battery :D
<sphalerite> bqv: the biggest component
<adisbladis> samueldr: Which "china vendors" are actually good re sources?
<samueldr> adisbladis: I have limited experience, so I would say "not unihertz"
<samueldr> adisbladis: and in my limited experience, xiaomi is, but it's not the usual "cheap china vendor"
<samueldr> oh, and oneplus, oppo
<samueldr> lenovo through motorola, unsure about lenovo itself
<bqv> sphalerite: if i have the keyboard facing away from me, is it right by on the left of that component,
<joepie91> pffff mega.nz is slow..
<joepie91> only 50mbps...
LinuxHackerman has joined #nixos-chat
<adisbladis> samueldr: Well, oneplus is also not exactly a typical "china vendor"
<samueldr> adisbladis: yeah
<samueldr> adisbladis: neither is lenovo/rola
<adisbladis> Oppo is more so, but pretty big around asia in general
<samueldr> adisbladis: oppo owns oneplus
<samueldr> adisbladis: and realme and vivo
<adisbladis> I know :)
<sphalerite> ugh, irc+matrix still doesn't work much better than it used to
<adisbladis> I used to be know one of the oneplus founders in a previous life
* sphalerite is waiting for LinuxHackerman to _actually_ join the room
<joepie91> sphalerite: issue is probably entirely on the Matrix side, FWIW
<joepie91> Synapse specifically
<sphalerite> joepie91: yeah I guessed as much. I'm guessing my homeserver is currently trying to download all the history of this channel from the matrix.org homeserver.
<adisbladis> samueldr: I was thinking more about really china vendors like Doogee
<sphalerite> Ha! I'm in!
<joepie91> sphalerite: shouldn't. IRC-bridged rooms should be set to "see history since you've joined" by default
<sphalerite> ah ok
* LinuxHackerman uploaded an image: IMG_20191107_102351.jpg (1734KB) < https://matrix.org/_matrix/media/r0/download/matrix.mayflower.de/XlxHFpayjjejWaWvHiBzjYFp >
<joepie91> samueldr: doesn't look like source :(
<sphalerite> bqv: ^
<sphalerite> bqv: if you go straight up in that picture from the blue tab
<sphalerite> that screw
* adisbladis is picturing sphalerite right now like this https://i.imgur.com/nUdz0Ow.png
<bqv> sphalerite: ah, yes! ok
<samueldr> joepie91: yeah, no source AFAICT, and experience on my side tells me it's likely truly source-less
<samueldr> joepie91: but *do* get in touch with them
<sphalerite> adisbladis: yes that's exactly me rn
<samueldr> joepie91: another option might be trawling through 4pda
<adisbladis> sphalerite: That's from my camera in your room
<samueldr> joepie91: *they* might have something
<adisbladis> Live feed
<sphalerite> adisbladis: aaaaah that explains it.
<joepie91> samueldr: "sourceless" in what sense?
<samueldr> joepie91: without a kernel source tree for the device
<samueldr> joepie91: without one that is published*
<joepie91> also, what is 4pda :P
<sphalerite> they got a kernel binary from the SoC vendor? :D
<samueldr> joepie91: a russian forum, kind of xda for russian, but better
neeasade has quit [Ping timeout: 264 seconds]
<sphalerite> oooh I picked up a Russian-German dictionary today
<joepie91> aha
<adisbladis> God I love those russian forums
<samueldr> joepie91: as in, it looks like moderation is good and they actually produce results
<joepie91> my Russian is a bit rusty
<bqv> screw released!
<adisbladis> It really helped me to decrap my chinese tv
<samueldr> google translate through chrome's automatic page translation is relatively serviceable for 4pda
<bqv> now to put it back together and see what i broke
<sphalerite> bqv: do you have a suzyqable?
<joepie91> samueldr: it would be really nice to see NixOS on a WP5. it's a really cool little device :)
<samueldr> joepie91: it would be really nice to see NixOS on every phone
<joepie91> I think I'm just gonna e-mail their intellectual property dept
<joepie91> seems the most relevant
<samueldr> yeah
<joepie91> samueldr: well yeah but this is a unique-ish phone :P
<samueldr> hehe
<joepie91> samueldr: good perf, decent camera, huge battery life, genuinely rugged and abuse-resistant, for $100
<samueldr> sounds good
<adisbladis> Whoa
<adisbladis> 8000mAh
<adisbladis> That's massive
<sphalerite> bqv: I strongly recommend setting a CCD password on the Cr50 and keeping it really really safe (especially from losing it), thern setting the OpenNoLongPP CCD option to Always
<joepie91> I've done some battery testing and with the screen permanently on and camera enabled, the battery life estimate would be 10 hours
<joepie91> battery life is crazy
<joepie91> adisbladis: yeah and it is probably not a lie
<joepie91> adisbladis: the tradeoff is that it's pretty bulky but tbh I prefer that :P I just don't like smartphones due to their invasiveness so I wouldn't carry it around and use it as long as it runs Android...
<bqv> sphalerite: those are definitely words
<joepie91> (I bought it as a testing device and for hackercamps)
<adisbladis> I don't mind bulky ^_^
<bqv> i'll bear that in mind, once i know what it means
<joepie91> yeah same
<adisbladis> Tbh phones are too thin
<adisbladis> If you can squeeze in more battery why not
<joepie91> adisbladis: tbh it's the first smartphone I've had in my hands that was comfortable for me to grip and *didn't* feel like it was gonna slip out like a bar of soap
<adisbladis> I think most are optimising for the wrong thing
neeasade has joined #nixos-chat
<samueldr> phones surely need a removable back again
<samueldr> and "zerolemon" style battery accessories
<joepie91> it's not a gaming phone, it's not a high-end phone, but all of the specs are "pretty good" and the ergonomics are fantastic
<sphalerite> bqv: to fiddle around with the firmware and some other things, you need to "open" the CCD (closed-case debugging). To open it, you need to provide a password (if set), then go through five minutes of paying attention to the serial console and pressing the power button when asked to
<joepie91> and for that price...
<sphalerite> bqv: if you set "OpenNoLongPP", you don't have to do the five-minute power button dance to open the CCD.
<bqv> aaah, nice
<joepie91> adisbladis: ^ that photo was made with my WP5
<adisbladis> Not fantastic by any means but perfectly decent
<joepie91> yeah
<samueldr> at the price point, the term is "serviceable" I think :)
<adisbladis> Tbh better than I would expect for that $$
<adisbladis> joepie91: Did you test the bluetooth range?
<sphalerite> joepie91: ooooh you're growing tomatoes too! :D
<joepie91> https://youtu.be/JsJ-GU65X_0?t=690 -- drop test
<joepie91> adisbladis: not yet
<joepie91> will do that now actually, hold
<adisbladis> Just the battery life makes it very tempting...
<adisbladis> I easily waste 50%+ of my battery just by going for a walk with music on
<samueldr> though, being stuck with the OEM-provided Android image is... meh
<sphalerite> joepie91: tell them two more people will buy it if the kernel sources become available :p
<adisbladis> But tbh I'm more likely to spend even more $$$ and get an fxtec if it's keyboard is any good
<sphalerite> that's the vapourware phone, right?
<adisbladis> I know someone who received his the other day
<joepie91> adisbladis: at least one floor of range
<joepie91> phone on desk on 1st floor (ie. middle floor), walked around house, no deadspots
<joepie91> with headphones (QC35)
<adisbladis> Alright, sounds good :)
<adisbladis> Iirc the QC35 are pretty good range wise so they shouldn't be the limiting factor
<sphalerite> right, time for bed. Was not expecting to be reminded of the joys of bob firmware and be completely unable to resist talking about it at this time of night :D
<sphalerite> gnight friends!
<cole-h> o/
<joepie91> adisbladis: put it downstairs on the table (ground floor), walked to the attic, two floors away, *very* occasional deadspots but still mostly worked fine
<joepie91> concrete house, 1980s
<joepie91> so no complaints
<joepie91> and yep, the bottleneck thing is why I tested with my QC35s :P
<adisbladis> Having experienced my previous xiaomi a1 bt range really worries me
<adisbladis> That one is terrible
<joepie91> (tbh this range is much better than either my laptop or desktop dongle)
<bqv> i have a screw that wont go in
<joepie91> but yeah, I'll contact them
<bqv> sphalerite: are they all the same?
<bqv> it's one of the back ones
<drakonis1> hoo boy
<bqv> they all look the same, except that one long one
<bqv> drakonis1: ?
<joepie91> e-mail sent
<joepie91> I think the intellectual property e-mail is from the company that handles their shop
<joepie91> so I've sent it to marketing@ instead
<drakonis1> gotta figure out how to rotate foundry between slots
<bqv> oh
<bqv> nevermind
<bqv> the broken one is the one i dropped
<joepie91> adisbladis: anyway, performance-wise, expect it to be "okay, not super amazing, but no irritating slowdowns and light 3D games will run fine on it"
<joepie91> basically the bottleneck seems to be GPU, not CPU
<joepie91> definitely good enough as a daily driver IMO
<adisbladis> Meh
<adisbladis> I don't play games on my phone
<joepie91> (unlike other budget phones I've held in my hands)
<joepie91> also I am not entirely sure how the SIM/SD situation works, given that I don't actually use it as a phone
<joepie91> it claims to be dual-SIM, but the side tray only has a SIM and a microSD slot
<joepie91> and the latter doesn't seem to double as a second SIM slot
<joepie91> so where the second SIM slot is, I'm not quite sure
<samueldr> joepie91: likely that it doesn't do double duty
<samueldr> as most recent "dual sim" phones don't
<samueldr> it's either SIM+SD or SIM+SIM
<joepie91> samueldr: that's what I thought but then why is the microSD slot not also a SIM slot
<samueldr> *or* it's a stack, SIM + SIM on top of SD
<joepie91> and where's the other SIM slot!
<adisbladis> samueldr: I had a huawei phone like that
<adisbladis> Where I removed the plastic from the sim and glued it on the sd card
<adisbladis> To make it work at the same time
<samueldr> those can get confusing because for some OEMs, they can ship the same phone with minute differences in that tray
<samueldr> e.g. only SIM+SD, no dual sim
<samueldr> even though other variants of the same phone can
<samueldr> adisbladis: samsung now explicitly says not to do that in their manuals
* joepie91 has apparently already lost his ejector tool
<joepie91> are these ejector tools gonna be the new jumpers? better order 100 because you'll lose every single one after use
<adisbladis> samueldr: If they don't want you to do that then maybe they should just add proper dual sim support....
<samueldr> joepie91: or paper clips
<samueldr> joepie91: works for jumpers too
<samueldr> adisbladis: hah, that would be too easy ;)
<adisbladis> It would make waay too much sense
<samueldr> adisbladis: I think the reason they mention it is so they can be all "we told you so"
<joepie91> oh, I was wrong! it is an interchangeable tray
<joepie91> so yeah, either 2xSIM or SIM+SD
<adisbladis> It could be worse... They could have "esim"
<adisbladis> I had a Motorola phone with a soldered sim that had to be modded.. It was terrible but also probably the last phone I properly enjoyed having.
<adisbladis> The Photon Q
<adisbladis> Such a nice keyboard
<samueldr> adisbladis: the new eSIM standard or the old "integrated SIM" thing?
<samueldr> because AFAIUI the new eSIM isn't something that can be modded
<adisbladis> samueldr: That phone had the old thing, it was a pre-soldered sprint sim.
<adisbladis> Pretty much
<samueldr> but AFAIUI (for now) it is supposed to always be one SIM tray *in addition* to eSIM
<adisbladis> Still though, I find eSIM pretty terrible
<samueldr> in a vacuum, the concept is good
<samueldr> for the new eSIM
<samueldr> land somewhere, you basically have a list of telcos like you have a list of wi-fi access points
<samueldr> and you can pick and order what is good for you
<samueldr> but we live in a society
<samueldr> and things are not perfect that way
<adisbladis> I would argue that we don't live in a society ;)
<joepie91> samueldr: I see 4pda people talking about TWRP
<joepie91> "fstab.mt6761 who knows how to defeat encryption I install twrp magisk works root rights are there but as soon as you go back into recovery he does not see the date until you format it again"
<samueldr> joepie91: most likely using a prebuilt kernel :(
<joepie91> (google translate)
<joepie91> so this suggests it's unlockable
<samueldr> oh, it is since you can run TWRP :)
<samueldr> (there's a TWRP repo on github for it)
<samueldr> (which _is_ using a prebuilt kernel)
<joepie91> right
<joepie91> " Well I wrote: you need to enable developer mode on the phone and the advanced settings menu will be available. Everything can be configured there. It connects normally to a computer, no problem. He even has a cable included. In the same menu, you can enable USB debugging mode, which seems to be necessary to get root rights. "
<joepie91> yep, developer mode easy to access
<samueldr> same as default AOSP
<samueldr> which is not surprising
<samueldr> AFAIUI most "cheap chinese phone" kind of build don't disable that or change that
<samueldr> you have to get to OEMs to start getting weird stuff
<samueldr> like ASUS where you have to find the device-specific .apk to install
* joepie91 kicks syncthing
<joepie91> sync my screenshot!
<samueldr> or xiaomi (and many others) where you link the device with an online account and wait some time
<samueldr> it took me 15 days to port Mobile NixOS to the xiaomi redmi note 8 pro
<samueldr> 14 days waiting
<samueldr> ~one day of work, most of it being to understand how not to brick it
<samueldr> (btw, 0/10 would not recommend as it is trivial to actually brick irrecoverably~ish)
<joepie91> heh
<samueldr> the verified boot part of the begonia bootloader bricks the phone totally instead of marking it as having an untrustable system
<cole-h> https://i.imgur.com/t4LU9wh.png Should I buy a lottery ticket?
<samueldr> so you can't even get into fastboot
<joepie91> samueldr: begonia? what's in a name :P
<samueldr> cole-h: the answer to that question is almost always "depends on what your thoughts are on giving away money you won't see back to the authority that deals with lottery for you"
<samueldr> joepie91: codename for the xiaomi redmi note 8 pro
<joepie91> samueldr: sure, just found it oddly appropriate :)
<cole-h> samueldr: But... but... 777!
<samueldr> joepie91: maybe I don't see why
<joepie91> it seems to pretty clearly tell you to go away :D
<samueldr> OH
<joepie91> (be gone ia)
<samueldr> didn't see that
<samueldr> I was way too stuck up with the flower codenames
<samueldr> jasmine, lavender
<joepie91> heh
<samueldr> many of their phones have flower-based names
<joepie91> samueldr: oooooh. there's an oukitel rep on 4pda
<samueldr> ooh
<__monty__> samueldr: Is UI and telephony and stuff part of the NLNet grant?
<samueldr> __monty__: UI not really, basic support yes, telephony, yes
<samueldr> __monty__: well, I say "not really", but "yes totally", but nothing specific for the project
<samueldr> __monty__: the idea is to package one of the mobile UI as well as e.g. gnome is
<samueldr> joepie91: word of warning: don't use english on 4pda; it's a russian-only forum (as per their rules)
<__monty__> samueldr: So the goal is basically a 100% usable phone based on nix? Please get a time machine, tyvm.
<samueldr> __monty__: it won't help if *I* go in the future
<samueldr> __monty__: because *I* won't be in our present to work on it
<samueldr> the past? psh, nonsense
<__monty__> That's why you have to go to the *past*.
<joepie91> samueldr: yeah I expected as much, I won't be posting there myself
* samueldr really hopes my "answer" was sent just before __monty__'s for everyone else too
<__monty__> : )
<joepie91> yay IR interference
<joepie91> so when I press "off" on the remote of my airco + the remote of my fan at the same time, neither turns off :)
<samueldr> I wouldn't have expected anything different
<joepie91> samueldr: it's one of those things that I didn't expect yet makes total sense in hindsight :P
<__monty__> infinisil: Thanks for reviewing!
<infinisil> :)
<__monty__> nn
__monty__ has quit [Quit: leaving]
Jackneilll has quit [Ping timeout: 260 seconds]
cole-h has quit [Quit: Goodbye]
<bqv> oh crap
<bqv> i may have just dd'd some data onto the wrong disk
<bqv> i did
<bqv> fuck
<eyJhb> Your main disc?
<eyJhb> disk*
<bqv> yes
<bqv> it became obvious because stuff started crashing
<eyJhb> In your current pc? :/
<bqv> yes
<bqv> testdisk
<bqv> testdisk to the rescue
<eyJhb> Damn
<eyJhb> Sorry to hear that, hope it gets resolved!
<bqv> it's fine, it was only my nix store
<bqv> that's expendable
<bqv> god bless nix
<bqv> but if i can recreate it without having to rebuild the world..
<bqv> lesson learnt, always use /dev/disk/by-uuid
bqv has quit [Remote host closed the connection]
Jackneilll has joined #nixos-chat
<eyJhb> Join us on ZFS
<eyJhb> Damn it
waleee-cl has quit [Quit: Connection closed for inactivity]
<immae> zfs doesn’t help with a wrong dd does it?
<ldlework> One thing that's annoying about Nix, is, for example, there's no way for me to update Discord, without updating Nixpkgs for my whole system, or pulling in a whole nixpkgs just for Discord.
<ar> immae: well, if you have no redundancy, it can tell you what has wrong checksums now
<infinisil> ldlework: But there is
<infinisil> .overrideAttrs (old: { src = ...; })
<immae> isn’t flake a solution to ldlework issue too?
<immae> (well the part before the last comma at least)
tsruser has joined #nixos-chat
<immae> ar: right
<ldlework> hmm
parsley936 has quit [Remote host closed the connection]
<elvishjerricco> immae: ZFS can help with dd situations, but without redundant disks, there's a very low chance of repairing the pool completely automatically. Depending on how early you catch your mistake while dd runs, it can likely provide access to files that haven't been destroyed already, and you might even be able to restore the damaged files from backups to repair the pool without rebuilding completely. But it's a precarious situation.
bye has joined #nixos-chat
bye is now known as byv
<byv> ok well, that drive is dead
<byv> now i get to try out some new partitioning, and see if my nix system can really reconstruct itself from nothing
<colemickens> omg I love Rust so much
<colemickens> this is my second/third translation recently, so good. I spend more time reading docs but then it just falls into place.
<ldlework> Sadly, I cannot get lorri/direnv/emacs and tide-mode working together :(
<ldlework> err. or I can? weird.
<drakonis1> tide-mode?
<drakonis1> hmm
<byv> typescript?
<drakonis1> oh
* byv is experimenting with several tiny 16GB partitions merged into a btrfs device
<byv> makes the disk way more malleable
<byv> anyway bbl
byv has quit [Remote host closed the connection]
<drakonis1> btrfs eyyyy
<ldlework> Ah nice, I just had to run direnv-mode before tide-mode
<ldlework> That is working nicely now.