gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
ninjin has joined #nixos-chat
<bqv> /dev/nvme0 is a weird construct
drakonis1 has joined #nixos-chat
drakonis1 has quit [Client Quit]
<pie_> new volatile meme endpoint
<bqv> heh
<drakonis> i have my own website now...
<drakonis> truly grand
<bqv> i used to have one of those
<bqv> i feel like i still should, but i don't really want one, nor do i have any interest in making one
<Ashy> my nixos machines all wait an extra 1min30seconds when booting for some reason
<Ashy> it's been that way for a few months
<Ashy> `systemd-analyze critical-chain` seems to show that it's network-setup.service that waits for the timeout
<Ashy> watching the boot it seems to be waiting for wifi to finish the DHCP step but wifi doesnt auto join so it waits for the full timeout
<Ashy> has anyone else noticed this?
<bqv> oh
<bqv> i saw that
<bqv> there's some dumb service that consistently times out on certain setups
<bqv> you'll see it waiting if you stick on the tty
<bqv> not sure how i fixed it, i might have just either disabled the service or avoided the issue by migrating to networkd
<Ashy> that's the systemd-analyze blame and critical-chain output
<bqv> systemd-udev-settle
<bqv> there's a bit of chat on a PR on nixpkgs about it too
<{^_^}> #25311 (by peterhoeg, 3 years ago, merged): display-manager: systemd-udev-settle serves no purpose, boot 10% faster
<Ashy> haha nice
<bqv> hmm, i thought i had comments on it. maybe it's that, maybe there's another one
<Ashy> i was using zfs on an old nixos machine but now i'm using btrfs on all my nixos machines
<bqv> welcome to the dark side
<Ashy> thanks, i'll have a read and see if i can do the same thing you are
<Ashy> cheers, heh
<Ashy> zfs being outside of mainline screwed me when latest kernel broke it a year or two ago
<Ashy> and i decided then that my filesystems shoudl all be mainline from now on
<bqv> yeah, fair
<colemickens> Has anyone here been using git-crypt before moving to flakes?
<bqv> before and after, yes
<aaronjanse> ^same here
<colemickens> Hm. When I was using it, it seemed like the flake was being git clone'd to the store, and the files were winding up encrypted instead of decrypted.
<colemickens> Which, was lazy of me to do anyway. I'm not sure if I was doing something wrong but I'm only using it for a few secrets on my RaspPi so I'm thinking of trying sops-nix for it.
<bqv> speaking of which, my flake now references two older versions of itself
<bqv> i feel like this is unhealthy
<bqv> colemickens: do you refer to your flake via . or another git ref
<bqv> if ., and the crypt is unlocked, it should work fine
<bqv> because git sees the files unencrypted
* colemickens is thinking about some assumptions he was making
<colemickens> I thought I was always overriding this system's nixpkgs to my local checkout, but I must be wrong
<colemickens> (the override-input=/path/on/disk)
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
<colemickens> But the original input was defined as a git-fetched flake. Hm
evanjs has joined #nixos-chat
evanjs has quit [Quit: ZNC 1.8.1 - https://znc.in]
evanjs has joined #nixos-chat
rajivr has joined #nixos-chat
<Ashy> i'm having a brainfart moment and can't remember the name of a project
<Ashy> what's that nix builder thing that can turn a nixos config into a bunch of different image types?
<Ashy> iso, libvirt image, aws image etc
<Ashy> ah nixos-generators
<Ashy> found it in my github watches
<drakonis> i'll admit i didnt like vultr as much
<drakonis> the docs are trash
<drakonis> dont crowdfund docs
<drakonis> there's docs that are years old for things that havent been available on vultr for years
<drakonis> and its main benefit, ssd backed instances, is available on the competition now
<gchristensen> I think the main benefit is it has a cheap low end
<drakonis> its 512mb
<gchristensen> that isn't a dig on it, it is great that they have instances SO cheap
<drakonis> i'm aware, yeah.
<drakonis> but i'm not a fan of how they offer 50 bucks of credit that expires in a month
<drakonis> linode got me 20 bucks of credit
<gchristensen> hah
<drakonis> and you can only have a single lowest tier instance it seems
<drakonis> linode has 20 and it doesnt go away
<drakonis> so i have 4 months that i dont have to spend money on
<drakonis> if it does, it doesnt specify anywhere
<gchristensen> maybe so you splurge on the 40/mo instance and they get to bill you $40 the next month -- something they would otherwise only get if you're a bottom-end customer for 16 months
<drakonis> hmm, it does specify when it does
<drakonis> so yeah, i got 4 months of credit
<drakonis> linode is a keeper then
<drakonis> vultr gave me 3 dollars of permanent credit lmao
<gchristensen> lol
<drakonis> vultr's free credit is 14 months of usage, if it didnt expire
<drakonis> i'm really just going for linode because it has better docs
<samueldr> linode was dearly overpriced and ate-up slicehost multiple years back :/
<samueldr> ~2012 I guess
<gchristensen> a customer being on free credit for 14 months is a literal nightmare
<drakonis> someone wrote docs that included a line that disabled the instance's firewall and selinux
<samueldr> though since then AFAIK linode got better
<gchristensen> lol.
<drakonis> something tells me they dont have people scan that shti up
<drakonis> linode got a lot better
<drakonis> from what i've heard while shopping for providers
<samueldr> well, vultr's guides are in response to the digital ocean guides
<samueldr> both are terrible
<drakonis> linode doesnt crowdfund guides it seems
<samueldr> great for them
<drakonis> so the guides are written by people who're already paid for it
<drakonis> i mean that randos dont get paid to write shitty guides
<drakonis> this was written in early 2019, as it talks about fedora 29
<drakonis> lmao actually, last update was last year
cjpbirkbeck has quit [Quit: Goodbye, take care]
cole-h has joined #nixos-chat
<aleph-> samueldr: Linode was awful the last quarter or two
<aleph-> Necessitated a move off them for the most part
bqv has quit [Ping timeout: 260 seconds]
bqv has joined #nixos-chat
<bqv> Uh, is there some kernel driver for nvme disks
<bqv> Initrd didn't find it
bqv has quit [Quit: WeeChat 2.9]
bqv has joined #nixos-chat
bqv has quit [Read error: Connection reset by peer]
bkv has joined #nixos-chat
bkv has quit [Client Quit]
<Ashy> yeap, there's an "nvme" module that i've got listed in my boot.initrd.availableKernelModules
<Ashy> oh bqv is gone
bqv has joined #nixos-chat
iqubic` has joined #nixos-chat
iqubic` has quit [Remote host closed the connection]
iqubic has quit [Ping timeout: 244 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
<colemickens> ,locate zstd
<{^_^}> Found in packages: zstd, linux, linux.dev, linux-libre, linux_mptcp, linux_testing, linux_mptcp_94, linux-libre.dev, linux_mptcp.dev, linux_testing.dev, linux_mptcp_94.dev, linuxPackages_5_5.kernel, linuxPackages_4_14.kernel, linuxPackages_4_19.kernel, linuxPackages_5_5.kernel.dev, linuxPackages_4_14.kernel.dev, linuxPackages_4_19.kernel.dev, linuxPackages_hardened.kernel, linuxPackages_xen_dom0.kernel, linuxPackages_hardened.kernel.dev, and 11 m
<samueldr> ,locate
<{^_^}> Use ,locate <filename> to find packages containing such a file. Powered by nix-index (local installation recommended) https://github.com/bennofs/nix-index
<samueldr> uh, it's not in the help
<samueldr> colemickens: if you're after binaries, ,locate bin <name>
<samueldr> ,locate bin zstd
<{^_^}> Found in packages: zstd
<aleph-> Man zstd truly is lovely sotware.
<aleph-> software.*
endformationage has quit [Quit: WeeChat 2.7.1]
cole-h has quit [Quit: Goodbye]
drakonis has quit [Quit: WeeChat 2.8]
buckley310 has joined #nixos-chat
cjpbirkbeck has joined #nixos-chat
kalbasit has quit [Ping timeout: 240 seconds]
cjpbirkbeck has quit [Ping timeout: 264 seconds]
<sphalerite> gchristensen: "customer"? Are they really customers if they're not paying, and not freeloaders? ;)
<srk> networking.useDHCP = false;
<srk> networking.interfaces.eno1.useDHCP = true;
<srk> oops
<srk> Ashy: scrololback ^
Arahael has quit [Ping timeout: 240 seconds]
arahael1 has joined #nixos-chat
parsley936 has joined #nixos-chat
<eyJhb> ,locate androidPkgs
<eyJhb> > pkgs.androidPkgs
<{^_^}> attribute 'androidPkgs' missing, at (string):318:1
<{^_^}> Couldn't find in any packages
<eyJhb> > pkgs.androidenv
<{^_^}> { androidPkgs_9_0 = <CODE>; buildApp = <CODE>; composeAndroidPackages = <CODE>; emulateApp = <CODE>; override = <CODE>; overrideDerivation = <CODE>; }
Suigintou_ has joined #nixos-chat
Jackneilll has joined #nixos-chat
Jackneill has quit [Ping timeout: 240 seconds]
<gchristensen> infinisil: ping
<gchristensen> well, maybe he'll be lucky :)
<gchristensen> NASA / ULA launch of a rover to mars in about 10 minutes: https://www.youtube.com/watch?v=21X5lGlDOfg
<philipp[m]> I think they are done with most of the patriotism now and starting the actual launch broadcast right now.
<gchristensen> womp womp infinisil
<aaronjanse> Ty for the heads up gchristensen. That was great!
<infinisil> Damn, missed it!
<gchristensen> :)
<hexa-> thx!
<aaronjanse> Dang I just realized it's 5 am
<aaronjanse> I thought it was 1 am
<aaronjanse> Welp. Looks like zero sleep for me :-/
<gchristensen> whoops
<philipp[m]> \o/ First plum cake of the year is ready to go.
<eyJhb> philipp[m]: pictures god damn it.
<eyJhb> WHAT
<eyJhb> Did I miss it?
* philipp[m] uploaded an image: image.png (2067KB) < https://matrix.org/_matrix/media/r0/download/xndr.de/TbxxYvIBjLchaiKxLduuuxwh >
<eyJhb> Uhh philipp[m]
<eyJhb> I am just sitting here, trying to compile Signal
<philipp[m]> with nix?
<eyJhb> Yeah
<eyJhb> BuildAPK with Gradle
<eyJhb> Currently only Ant is supported
<eyJhb> Also sitting here thinking, if it actually makes sense to pin already pinned things
<eyJhb> But I guess that is our culture
<eyJhb> While hearing this - https://www.youtube.com/watch?v=LU55Flooj3Y
<eyJhb> *sigh* hell this is not nice
<Valodim> eyJhb: ping me if you figure it out
<eyJhb> Valodim: Have you tried it before?
<Valodim> yes. I got gradlew to work, sort of: https://nixos.wiki/wiki/Android#gradlew
<eyJhb> Currently using gradle2nix atm.
<eyJhb> I am so in-between of where to place things atm.
<Valodim> (I don't know what relevant projects today still uses ant, but I assume there are close to zero of them)
<eyJhb> Also because, we should pin the deps
<eyJhb> Currently I just have this fun thing `> Cannot set /nix/store/dx3a919kix7ypj6579g6w4bpxrfci8lh-Signal-gradle-project-env/com/google/protobuf/protoc/3.10.0/protoc-3.10.0-linux-x86_64.exe as executable`
<eyJhb> Signal might not have been the best app
<eyJhb> But DAMN IT I want it
<Valodim> gradle2nix looks promising, however https://github.com/tadfisher/gradle2nix/issues/13
<{^_^}> tadfisher/gradle2nix#13 (by pstn, 13 weeks ago, open): Feature Request: Make gradle2nix work for android projects
<eyJhb> That is what I am doing :p
<eyJhb> Basically
<eyJhb> Also fixed a bug
<philipp[m]> That would make me happy.
<{^_^}> tadfisher/gradle2nix#16 (by eyJhb, 2 hours ago, open): buildSrc not working
<eyJhb> Currently I am implementing android SDK as part of it
<eyJhb> Just to get a PoC
<Valodim> mhmmm
<Valodim> welp. as I said, ping me if you ever figure it out :) I didn't have the time to look into it much further :(
<eyJhb> We need to get the biggest FDroid repo using NixOS, that is the goal :p
<eyJhb> Will do Valodim !
waleee-cl has joined #nixos-chat
<eyJhb> I have borked my i3
<eyJhb> No clue how
<eyJhb> But I managed to hide a window, behind a stack
<eyJhb> Anyone know if tadfisher is sometimes in IRC or Matrix?
* Taneb is having a bit of an aaaaaah time
<philipp[m]> It was about to happen, wasn't it?
<Valodim> gchristensen: so when you say "cool"
<philipp[m]> At least the supreme court seems to still be independent enough to shut that shit down.
<gchristensen> Valodim: I mean cool like The Cool Zone
<Taneb> Sam G Well, initially I'm just going to just read about it and try to find that Mozilla implementation; will hold off writing any code until after I've looked through that PR
<Taneb> Aaaaah I didn't mean to post that
<Taneb> How does clipboards work
<arahael1> The clipboard in linux is *awful* and broken. :
<philipp[m]> You mean the clipboards?
<arahael1> Indeed.
<arahael1> How many are there? 3? 5?
<makefu> just for syncing i have to use a separate application (clipit)
<joepie91> actually cool
<evanjs> joepie91: my eyes 😢
<joepie91> :D
<philipp[m]> Like the good old days!
<joepie91> I say, bring this back (and add a global "don't do animations unless I say so" button to browsers)
<joepie91> in all seriousness though, I'd legitimately like to see this thing come back
<joepie91> reclaim the web as a place of personal expression, rather than just a place for bland, formal, office-environment-colored commerce
<evanjs> Reminds me of https://www.lingscars.com/
<joepie91> even things like Facebook are heavily 'sanitized' in terms of design and expressability
<evanjs> (Non-mob link on my end)
<joepie91> evanjs: well yeah but that's an intentional joke
<joepie91> the github repo a bit less, I suspect :P
<evanjs> And tbh, the blandness seriously helps, depending on what the target/intent of the information is
<evanjs> And yeah, more like a MySpace page lol
<joepie91> the blandness helps for information digestion, but that's precisely my point, not everything should be about that :P
<eyJhb> Soo close to having Signal
<eyJhb> joepie91: the worst part is the GDPR/cookies thing that is animated...
<joepie91> ?
<eyJhb> > I say, bring this back (and add a global "don't do animations unless I say so" button to browsers)
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):318:6
<eyJhb> When you visit a site, and you have to accept cookies, etc.
<eyJhb> When those popups are animated on the site, with fade-in and stuff
<eyJhb> That should be illegal
<joepie91> the whole popup itself is, generally, already illegal
<joepie91> eyJhb: I mean, the animation there is not my complaint :D
<eyJhb> Valodim: I am at the "last step" I think, I just need AAPT2 to work. Which should work using the command from the Wiki, but it will not use that. Maybe the local dependencies overrides the envvar.. Which would be weird
<eyJhb> How come illegal joepie91 ?
<joepie91> eyJhb: likewise, coercing people into agreeing through dark patterns is not allowed either
<joepie91> apparently(tm) an update is coming that will make these things more explicit (though they are already forbidden in the GDPR now)
<joepie91> but right now the situation is pretty much "it's illegal, but privacy watchdogs have not had enough funds to go after those doing it"
<joepie91> and shitty marketing people do what shitty marketing people do, and so you get assaulted by cookie walls everywhere
<eyJhb> Cannot visit the site
<joepie91> (a cookie wall is, in principle, not illegal - if it provides a genuine equal choice, doesn't deny access, and so on... but basically none of them actually do this, and the only reason sites have cookie walls in the first place is to trick people into 'consent' via dark patterns anyway, it's not like there's any point in asking it legitimately)
<eyJhb> It redirects me to advertisment?
<joepie91> eyJhb: TL;DR of article: privacy authorities have said that it is not allowed to make access to a site predicated upon you agreeing to cookies
<eyJhb> Yup, I know that part is not allowed
<eyJhb> Basically saying "You have to accept this"
<eyJhb> Which goes for GDPR as well
<eyJhb> Equal choice should be given, and provide somewhat the same
<joepie91> not 'somewhat'
<joepie91> anyway!
<joepie91> basically nearly every cookie wall is violating the GDPR, half of the sites even just send cookies before you click reject or accept
evanjs has quit [Read error: Connection reset by peer]
<joepie91> so fuck cookie walls, just get rid of them entirely, they do not serve a legitimate purpose anyway :P
evanjs has joined #nixos-chat
<ajs124> my favourite GDPR implementation was the one that tumblr pulled. they put a wall in front of their RSS feeds. like, how little did anyone there care about anything?
<ajs124> and I think everything was on by default and you couldn't enter when clicking reject, so it wasn't even compliant in the slightest
<joepie91> doesn't surprise me at all
<joepie91> these cookie walls, like much of large commercial services, are founded on a principle of treating users adversarially; as a resource that needs to be nudged in the right direction to yield desirable results
<ajs124> they kept it up long enough for this to happen: https://github.com/GregThib/ttrss-tumblr-gdpr
<joepie91> "not harassing the user" is not a factor in that at all, other than trying to make sure the user sticks around in some way
<joepie91> it's basically an abusive relationship
<joepie91> and it explains pretty much all the shitty things that large tech companies
<joepie91> * do
<ajs124> yeah… it's kind of sad
<ajs124> then again, users can also be pretty abusive, if you give them too much leeway
<evanjs> eyJhb: yeah that's one of the bigger things, defaulting the anims and stuff to off lol
<eyJhb> ,locate libc++
<eyJhb> ^^ Please
<{^_^}> Found in packages: cjdns, libcxx, libcxxabi, cpp-utilities
<eyJhb> xx ? Really?
* infinisil opened nixbot pull request #16 → Always require "please" before replying to any commands
<{^_^}> https://github.com/NixOS/nixpkgs/pull/16 (by viric, 8 years ago, merged): Updating gdb to 7.4.1
<infinisil> Lol
<infinisil> {^_^}: You ruined my funny
<eyJhb> DO NOT UPDATE {^_^}
<eyJhb> Please
<eyJhb> :p
<joepie91> "if you give them too much leeway" is precisely part of that same adversarial thinking towards users
<joepie91> ajs124: abuse invites abuse. if you design your thing as some sort of supposedly-neutral exploitative hellhole, you're going to make users go "well whatever, fuck it" and they are not going to care about how they leave it. if you design it as an actual healthy community that acts in the user's best interests, abusive users are incredibly rare.
<joepie91> yes, there is going to be the incidental asshole. most users are not that, if you treat them well.
<bqv> i have an idea
<bqv> i kinda want an "intelligent-raid0"
<bqv> where my nix store has all current profiles on one safe drive
<eyJhb> bqv: did you mean "ml-raid0" ?
<bqv> but then the other stuff is all striped onto another drive
<bqv> so i get the benefit of speed, but also no terrible lack of redundancy
<bqv> then again, hm
<bqv> i dunno, i feel like i wanna experiment with some raids
<bqv> since i have two drives and a lot of free space, i could at least fully raid0 my nix store, and have space remaining to raid-1 another filesystem for real speedy stuff
<philipp[m]> Why wouldn't you want your nix store to be speedy? I'd take raid1 slower writes for higher read speed any day in the nix store.
<bqv> oh, yeah i had that the wrong way around
<bqv> i meant stripe my nix store and have another mirrored fs for stuff
<philipp[m]> striping means getting double the storage because you don't do redundancy. That also means you have to read from one specific disk, while raid1 allows you to read every block from two disks, so that's faster.
<philipp[m]> It's a bit slower in writing because it's just as fast as the slower disk, but not much than without any raid.
<philipp[m]> striping is faster in writing because you can write both disks at the same time and don't need to care where you write what.
<bqv> oh, so i was right first time. yeah don't see the need for the extra redundancy though, since the nix store is reproducible
<bqv> striping with half the storage in each just gives double the speed-ish, no?
<philipp[m]> -ish, yes. Depends on how lucky you are. raid1ing it gives you double the read speed pretty reliable though.
<philipp[m]> When all your controllers can handle it of course.
<eyJhb> Android just have a infinite amount of curveballs - `Probably the SDK is read-only`
<eyJhb> YES IT IS! But what are you trying to do android! Damn it.
drakonis has joined #nixos-chat
<makefu> eyJhb: that is what android calls "reflection": 'Reflection is an API which is used to examine or modify the behavior of methods, classes, interfaces at runtime.'
<eyJhb> makefu: :(
<eyJhb> I need to get these files - Exception while marshalling /nix/store/q2335pi0mr0qy07hljz7r8h9qw71vj1q-androidsdk/libexec/android-sdk/platforms/android-29/package.xml. Probably the SDK is read-only
<eyJhb> WHERE :p
<samueldr> things being in a permanent state of light-brokenness everywhere surely isn't good for anyone
<eyJhb> Anybody know where those files can be found?
<bqv> makefu: reflection shouldn't need to modify the actual binaries...?!
<bqv> philipp[m]: yeah, well, since i don't really require any redundancy whatsoever on the nix store, i'll settle for it being raid0, and have raid1 on the same drives for stuff i actually care about, but need speedy
<bqv> that's what i meant
<makefu> bqv: well, the filesystem somewhat /is/ an API :D
<bqv> <oh no>
<samueldr> /bin/bash as a service
<eyJhb> Whyyy does it strip such info? :(
<philipp[m]> * /usr/bin/env bash
<samueldr> * /nix/store/4xb9z8vvk3fk2ciwqh53hzp72d0hx1da-bash-interactive-4.4-p23/bin/bash
* eyJhb *don't paste the source*
<philipp[m]> Will google lawyers come and sue us?
<philipp[m]> Or Oracle?
<eyJhb> philipp[m]: regards to the link?
<philipp[m]> Regarding to samueldr s comment.
<eyJhb> Getting further!
neeasade has joined #nixos-chat
<eyJhb> It is beautiful, currently mixing all kinds of Android SDK tools, from major realeases
<eyJhb> What is not to love
<philipp[m]> Sounds reproducible.
<eyJhb> NOOOO
<eyJhb> IT FAILED!
<joepie91> reproducibly broken
<eyJhb> :(
<joepie91> where the only reproducible part is "it's broken", not *how* it is broken :P
<eyJhb> It is because I need a newer aapt2 binary
<eyJhb> And that is in a never tools build, but I cannot use that, as everything else requires a older one
<eyJhb> And normally you would use the marven something something dependency
<eyJhb> But that will not work on NixOS, because, NixOS
<eyJhb> makefu: you traitor `Caused by: java.lang.reflect.InvocationTargetException`
<makefu> called it!
<makefu> it is always reflection
<joepie91> lol
<samueldr> makes you reflect on that
<eyJhb> It is because I need this - `Caused by: java.security.ProviderException: Library /usr/lib/x86_64-linux-gnu/opensc-pkcs11.so does not exist`
<joepie91> is this the Java equivalent of {DNS,Lupus}?
<eyJhb> But .. WHERE does it need it I guess
<eyJhb> The NixOS manual is too big
<eyJhb> Takes forever to render
Baughn has quit [Quit: ZNC 1.6.2+deb1 - http://znc.in]
<eyJhb> Lets see now
<eyJhb> Currently it is just PoC, then we can get it pretty I guess
<bqv> what's the status on the docs RFCs
<bqv> oh shit my cpu has 16 cores
<bqv> i thought it had 8
cole-h has joined #nixos-chat
<philipp[m]> Hyperthreading?
<eyJhb> bqv: HT I would assume
<bqv> hm, it does have 8, but cpuinfo and htop show 16 processors
<eyJhb> Yup, hyperthreading then
<bqv> ah
<bqv> right
<eyJhb> So, 16 threads, 8 cores
kalbasit has joined #nixos-chat
<bqv> cool
<eyJhb> Did you just get a beast upgrade on your PC bqv ?
<bqv> basically, yeah
<eyJhb> Sweeet
<cole-h> Thanks chegg?
<eyJhb> Uhhhh
<eyJhb> Well, it works if you are single I guess?
<eyJhb> Also, `Caused by: java.security.ProviderException: slotListIndex is 0 but token only has 0 slots` quality desc
<eyJhb> IT FINISHED! :D
Baughn has joined #nixos-chat
<bqv> yikes
<philipp[m]> People on hn even claim that also debian and ubuntu have been borked by that patch.
<eyJhb> Have we applied it yet?
<philipp[m]> This is turning into on-topic pretty quick!
endformationage has joined #nixos-chat
<ashkitten> i'm a little worried about the last synapse update adding oembed support
<eyJhb> I feel like, everytime I ask for help in something else than Nix related chats, I get the question "Why the hell would you then use NixOS"
<joepie91> welp
<ashkitten> embedding arbitrary html in a secure chat client, from the server's origin.... seems very sketchy
<ashkitten> i'm not sure of what precautions that includes
<eyJhb> joepie91: tor?
<joepie91> eyJhb: yeah. all the piratebay proxies have been blacklisted again
<bqv> my isp doesn't block TBP :D
<eyJhb> Was more because I was missing the last (462)... part of the URL, so I was unsure. But this works as well, so https://u.pixie.town/pixie.town/AMDcYMaAvmFOcHbtLjcPKLYt
<eyJhb> Ahh damn
<eyJhb> Mine neither! But that is mostly because I run my own DNS
<bqv> it's dns blocked only?
<joepie91> running your own DNS won't help here
<eyJhb> Yuuup
<bqv> that's flimsy as hell
<joepie91> fucking BREIN
<eyJhb> They are only required to block the domain :p
<philipp[m]> I thought pirate bay functionally dead anyway?
<bqv> i used it just this morning
<eyJhb> And each time they change IP, they would need a new court order I assume
<eyJhb> philipp[m]: I like it a lot better than other sites
<eyJhb> But they are making weird updates to the site
<eyJhb> Not sure who controls it anymore
<joepie91> eyJhb: ha, no. court has given BREIN basically a carte blanche to supply new IPs and domains to ISPs
<eyJhb> joepie91: no fun then :|
<joepie91> so everything gets blocked every few weeks
<drakonis> hoo boy
<joepie91> not at all
<drakonis> i'm feeling like i should set up nix on my instances
<Valodim> ashkitten: seems like a client issue, not something synapse would care about itself?
<eyJhb> joepie91: get a VPS in Lux
<joepie91> meanwhile BREIN is gloating how "traffic to the pirate bay has dropped to almost zero"
<joepie91> to which I have two comments
<eyJhb> They don't really care
<joepie91> 1) yes, that tends to happen when you literally BLOCK A SITE
<joepie91> 2) what do you mean ALMOST zero
<ashkitten> Valodim: still, kinda iffy
<eyJhb> Yeah, 100% 2
<eyJhb> The times it fails to work :p
<joepie91> how do you manage to get something blocked by court order and still not have absolute zero lol
<joepie91> eyJhb: I can get a VPS anywhere, that isn't the point
<drakonis> i have a linode vps and i'm suffering with ports
<eyJhb> joepie91: true
<eyJhb> I think the worst part is IPS spreading false info about TPB
<eyJhb> ISPs
<eyJhb> Sorry
<eyJhb> How good are you at danish joepie91 ?
<eyJhb> My OCR doesn't want to work...
<joepie91> lol
<joepie91> eyJhb: I might understand some tiny bits in context, maybe :P
<joepie91> I don't speak Danish at all, so it'd just be my general reading-foreign-stuff heuristics
<eyJhb> Well, tesseract is running
<eyJhb> ANd eating CPU
<eyJhb> Just taking forever
<eyJhb> This was the message on the site (png -> ocr -> google translate) https://termbin.com/mr1q
<eyJhb> I think that is a little missleading
<bqv> renumbering partitions won't break EFI, right?
<samueldr> EFI looks for the ESP according to the partition type identifier
<samueldr> properly implemented EFI*
<samueldr> so, no
<bqv> oh, of course
<bqv> awesome
<eyJhb> I think everyone will be happy to know, I have build signal
<eyJhb> Valodim: done! Just need to.. Do stuff now with it
<eyJhb> And do it better
<samueldr> eyJhb: nice
<samueldr> does it work?
<eyJhb> That, is not tested however. I still need to sign it and crap :/
<eyJhb> I really do not miss, playing with Android apps. Hopefully the Studio experience is much better
bqv has quit [Quit: WeeChat 2.9]
<eyJhb> samueldr: https://termbin.com/9vfy3
cole-h has quit [Quit: Goodbye]
<Valodim> eyJhb: oh wow
<Valodim> eyJhb: the studio experience is "press green arrow" :)
<Valodim> the *typical* cli experience is `./gradlew assembleDebug`
<eyJhb> The NixOS way is just, pray
<Valodim> I develop android on NixOS, and to be quite honest, I've given up on the cli toolchain and hope that Android Studio continues to just work
<eyJhb> But nicer once it gets cleaned I guess
<Valodim> eyJhb: so what'd you have to do to get this to work?
<Valodim> signal even includes native libs iinm, so that's doubly impressive
<eyJhb> *sigh* everything
<eyJhb> I will just test if it actually works
<eyJhb> Then I can write a little about it
<eyJhb> There are quite some hacks in there
<samueldr> still, this is probably extremely useful for a bunch of users here :)
<eyJhb> One thing that would be nice, would be if we could compile just AAPT2 for itself
<eyJhb> ANd maybe the other tools as well
<eyJhb> Because that is my, two sdk-tools hacky thing
<eyJhb> Because I need a newer aapt2 version, that is actually appt2 with version 3 ?? The hell
<eyJhb> (I think)
<eyJhb> Creating a backup of signal first
<eyJhb> Since it is a app I actually use, and don't really have a backup device to test on
<eyJhb> Except a OnePlus Two with ghost toches and the screen half popped out
bqv has joined #nixos-chat
<samueldr> eyJhb: your backup probably won't be able to restore properly
<samueldr> it *may* be that if it's the same OS install it will, but when changing the OS or changing the device it doesn't
<samueldr> well, I'm talking backups like Titanium Backup
<eyJhb> It has a build-in backups feature :p
<samueldr> I don't know if there's something better these days
<samueldr> ah
<samueldr> then that's probably fine
<samueldr> just wanted you to be aware of a potential issue :)
<eyJhb> I hope so at least :p Of course! I appreciate it :D
<eyJhb> NEed to get ADB working, as the build-in installer is not useful for debugging
<eyJhb> So now my phone thinks it is just charging, and I can't change the mode on my phone
<eyJhb> This should be the easy part
<philipp[m]> Dang, grapheneOS really seems to do a solid job.
<philipp[m]> Just compare those installation instructions to any other android stuff out there: https://grapheneos.org/install
<eyJhb> I KNEW THAT WOULD HAPPEN :( My laptop is borked now, and need to restart it
<eyJhb> Damn it
rajivr has quit [Quit: Connection closed for inactivity]
<eyJhb> Retriggering udev is basically no fun
<eyJhb> It runs
<eyJhb> samueldr: And I can restore the backup :D
<samueldr> good to know :) but unsurprising because it's their own data
<samueldr> though, it could have been somehow signed in a way where only their signed app could open it maybe?
<eyJhb> Well
<eyJhb> Read about Acronis software :p
<samueldr> I won't, so what's that about?
<eyJhb> They are not great at making there software compatible with previous versions.
<eyJhb> It is a backup tool for computers basically
<samueldr> philipp[m]: if you want to build grapheneos, or aosp, using nix: https://github.com/danielfullmer/robotnix/
<eyJhb> So people come with 2-3 year old backups, and it won't work
<samueldr> oh
<samueldr> but yeah, you get what you pay for
<samueldr> :3
<eyJhb> It costs waaay too much for that being the case :p
<philipp[m]> samueldr: Not right now, but nice!
<samueldr> philipp[m]: sure, didn't want to force you into it, but this is a nice way to setup your own system
<samueldr> there's some (minimal, but still good) customization possibilities in there
<eyJhb> Wonder what else I can compile. But lets get some notes down
<philipp[m]> I'd do it for my own system but I need something that just runs for my mother...
<bqv> samueldr: huh, so you could make graphene for non pixels?
<samueldr> nope
<samueldr> well
<samueldr> yes
<samueldr> but not because of that project
<samueldr> the same work would apply for porting it to non-pixels
<samueldr> what this does, way simplified, is it takes the abomination that is the AOSP build system, and wraps it in enough nix to work just right
<samueldr> plus other features
<bqv> hmm, ok
<ashkitten> anyone know how i can bridge a network interface to the main network while also using the outgoing interface for the same machine?
<ashkitten> like
<ashkitten> enp4s0->enp3s0f0, but also still be able to use enp3s0f0 for internet
<bqv> i've been curious about that for several years lol
<ar> ashkitten: if you have a brigde with bridged devices, you're not supposed to configure individual devices
<ar> ashkitten: as in, it doesn't really make sense
<ashkitten> i guess i add both devices to the bridge and then talk to the bridge?
<cransom> ashkitten: some of that depends on what the goal is by adding another interface.
<cransom> if both interfaces are on the same network and you are using layer 2 bridging, it's hard to declare which traffic enters/leaves the system from a particular interface
<ashkitten> figured it out!
<ashkitten> i just had to enable dhcp on the bridge
<eyJhb> Valodim: Rubbish notes here, will clean up later but wanted to get them down before I eat - echo "android.aapt2FromMavenOverride=${androidenv.androidPkgs_x_0.androidsdk}/libexec/android-sdk/build-tools/29.0.3/aapt2" >> gradle.properties
<eyJhb> CHRIST
<eyJhb> Here
AluisioASG has joined #nixos-chat
<samueldr> don't eat echoes of gradle.properties
<eyJhb> Got some lasagna, but waiting for it to 'settle'/rest/whatever I guess
slack1256 has joined #nixos-chat
Suigintou_ has quit [Read error: Connection reset by peer]
slack1256 has quit [Remote host closed the connection]
evanjs has quit [Read error: Connection reset by peer]
<philipp[m]> Oh god. They are doing a wacken live streaming event. With fake crowds and fake applause. https://wacken-world-wide.com/
<philipp[m]> It's bizarre.
<philipp[m]> And not that kind of bizarre that wacken usually goes for.
evanjs has joined #nixos-chat
<danderson> it's super weird, and I'm here for it
evanjs has quit [Ping timeout: 260 seconds]
<eyJhb> I am just here, having my survival game fetish - https://youtu.be/BB139Hr1KbU
<eyJhb> What is Wacken?
<samueldr> what they call whack-a-mole in germany
<samueldr> (nah, impossible, it would be whackenburrowingdoggame or something like that)
evanjs has joined #nixos-chat
<eyJhb> Ahh, I see samueldr
<eyJhb> Trying another Android project
<eyJhb> I should have stopped while on top
<eyJhb> Someone who can name a somewhat small opensource project?
<samueldr> check om f-droid?
<eyJhb> Trying antennapod
<eyJhb> Not as simple, but yea
<eyJhb> I just remember a Github org that was dedicated to making the standard set of utils, like clock, etc.
<eyJhb> But can't find it
<philipp[m]> orgzly!
<eyJhb> philipp[m]: I tried that, but there is some dependency fun
<eyJhb> Where it will not find all the deps
<aaronjanse> ^
<eyJhb> So that is why I want to try others, as I had "no problems" using Signal
<eyJhb> YES
<philipp[m]> Had that problem a few moths ago. This is why I opened that issue @ gradle2nix in the first place.
<eyJhb> Thanks
<eyJhb> IT WAS YOOOU
<eyJhb> Didn't know you Github name
<eyJhb> But I don't think it is a Android think
<eyJhb> It seems like a app thing
<aaronjanse> Oh hey, somewhat related eyJhb, if you ever want a customly-themed desktop Signal nix derivation, see https://github.com/aaronjanse/nixos/blob/70e475f8f1fd7c2f0ddb450e675afd3e7d7d2ce4/modules/gui.nix#L252-L274
<aaronjanse> s/derivation/overlay
<eyJhb> Sweet
<eyJhb> I should use Signal desktop at some point
<eyJhb> Is it nice?
<aaronjanse> Not as nice as mobile
<eyJhb> Damn
<aaronjanse> But it's convenient
<philipp[m]> No it isn't
<eyJhb> And guessing it does not integrate with SMS on the phone?
<aaronjanse> That's correct
<eyJhb> Damn
<eyJhb> That would be a plus, and a minus
<aaronjanse> It has emoji reacts and everything. But it's not super battery friendly. But I like not having to pick up my phone when helping friends debug code over Signal
<aaronjanse> I think the battery issue comes from message timers. But Signal still isn't as bad as Discord, in terms of battery usage, in my experience
<eyJhb> Soo, antennapod gives me weird things as well :(
<eyJhb> aaronjanse: If any of my friends wanted to debug code over Signal
<eyJhb> I would have ran
<aaronjanse> eyJhb: Ahaha. Why?
<eyJhb> Because, that.. Just isn't nice. Like weird screenshots of code, with reflection on the screen, etc. But I guess most of it stem from them and me using the phone
<eyJhb> And I in general just HATE typing on my phone
<Valodim> do you swype, or type?
<eyJhb> Swype
<eyJhb> Hate typing :p
<eyJhb> I can't type anymore
<eyJhb> It is bad as it is, but when I can't spell android anymore, then my current task becomes quite tedious
<samueldr> adnroind
<eyJhb> samueldr: andoirdSdk
<samueldr> (I understand the pain)
<samueldr> like semantic satiation, but for the fingers
<philipp[m]> nixkpgs...
<eyJhb> *anything* for me
<eyJhb> My cat looks angry at the air
<samueldr> good news, your cat's not broken
<eyJhb> She is judging you now
<eyJhb> She looked at me as soon as you typed that. 3.3 kg of fluff coming your way
obadz has quit [Quit: WeeChat 2.9]
<eyJhb> ... She came in and was a dick. Not broken yeat
cransom has quit [Quit: WeeChat 2.7.1]
cransom has joined #nixos-chat
<bqv> cats are dicks
<bqv> it's what they do
<infinisil> Our cats are very nice :)
obadz has joined #nixos-chat
<aaronjanse> > Because, that.. Just isn't nice. Like weird screenshots of code, with reflection on the screen
<aaronjanse> Nah way, they use Signal Desktop, and they send actual plaintext stacktraces and code
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):318:8
<eyJhb> That I might tollerate
<eyJhb> But you know, make a repo for it aaronjanse :p
<eyJhb> With issues :D
<aaronjanse> It's mostly for one-off stuff
<aaronjanse> Okay so I've decided
<eyJhb> To do ? :p
<aaronjanse> I'm going to write a self-hosting lisp compiler with backward parenthesis
<eyJhb> Get going :p
<aaronjanse> What's the most hellish thing I could compile to?
<aaronjanse> Java?
<aaronjanse> (Java, not JVM)
<eyJhb> I hate most languages atm.
<eyJhb> Honestly, fuck them all. :p
<aaronjanse> *say "except Nix" right now*
<eyJhb> Actually I was going to say that
<eyJhb> Because that works
<eyJhb> ANd is easy to compile. And all deps are in nixpkgs
<aaronjanse> Yep
<Ashy> python is still fun
<aaronjanse> So is Rust
<Ashy> I took an APL diversion a few weeks ago
<Ashy> that was fun
<eyJhb> aaronjanse: Rust in what way?
drakonis has quit [Quit: WeeChat 2.8]
<aaronjanse> eyJhb: Why is Rust pleasant to write with?
<eyJhb> Well, actually
<eyJhb> Most things are pleasant, when not mixed into Nix
<eyJhb> I like Go a ton
<eyJhb> Python is however BEST mixed with NixOS
<aaronjanse> I just like the idea of patience of letting stuff oxidize. And it's retro enough to make the handwriting look badass
<Ashy> eyJhb: yeah definitely
<eyJhb> Join the corner with samueldr aaronjanse ...
<aaronjanse> samueldr likes Rust?
<eyJhb> samueldr likes the jokes as well :p
<aaronjanse> :-)
<eyJhb> I love Python with Nix, because you put the shebang at the top, and there you go
<aaronjanse> eyJhb: Go is pretty awesome, but the GOPATH thing hasn't grown on me yet. Neither has Go's error handling. But I use Go regardless because it's great for writing concurrent code
drakonis has joined #nixos-chat
<eyJhb> aaronjanse: using modules fixes pretty much the GOPATH thing
<eyJhb> But yeah the error handling
<eyJhb> But I think it is nice,t hat you have to make a decision on what to do
<aaronjanse> I mean, Go's error handling isn't much worse than other languages
<aaronjanse> Although I hate debugging errors where I forget to check `err != nil`
<aaronjanse> But my favorite form of error handling is with monads, which is what Rust does
<eyJhb> No clue what it is :p
<eyJhb> Seems lke simple app calc can build as well
<aaronjanse> It's wrapping a return value with the potential for there to be an error
<eyJhb> But I wonder what should be done, to allow antennapod
<eyJhb> So, either the value or a error?
<aaronjanse> Like, to extract the String from Result<String>, you either have to handle both cases of Ok(String) or Err(error value), you you explicitly say "if this is an exception, just panic; I'll make error handling better later"
<aaronjanse> *or you explicitly say
<eyJhb> yay
<aaronjanse> Then there's a `?` operator which basically means "if this is an error, return an error"
<aaronjanse> Yay!
<eyJhb> Hmm, sounds nice
<eyJhb> Rust just still hurts my eyes
<eyJhb> Seems like you don't really need to make any mods to gradle2nix, just need a way to override deps
<eyJhb> Sooooo
<ivan> Rust isn't really a language for pleasantly describing computations at a high level, but I got used to it
<ivan> I feel like it's designed to be programmed with rust-analyzer now, the difficulty is lower with a rapid feedback loop
<aaronjanse> Yeah
<Valodim> if you consider that you can use all the iterator map filter collect stuff in Rust at zero cost compared to C style coding
<Valodim> it's amazing :)
<eyJhb> Valodim: Did you have any Gradle experience?
<Valodim> eyJhb: that's really great progress
<Valodim> experience with what, exactly?
<eyJhb> I just have these errors - https://termbin.com/6a4f with antennapod, and it seems like a Gradle error - https://github.com/jeremylong/dependency-check-gradle/issues/71
<{^_^}> jeremylong/dependency-check-gradle#71 (by gmetal, 2 years ago, closed): dependencyCheckAnalyze fails in Android project with more than one modules
<Valodim> I've been using it as a build system for some android projects :) but not much beyond that. Not too fond of Groovy and Gradle itself, honestly
<eyJhb> Generally the net is plastered with these errors, but "our" config is weird in general
<eyJhb> What do you then use?
<eyJhb> It seems like all uses Gradle
<Valodim> at the moment there's no real alternative
<Valodim> the ecosystem will surely move towards Kotlin though
<Valodim> it's powerful enough to work as a build DSL
<eyJhb> But..
<eyJhb> Isn't Gradle Kotlin?
<eyJhb> Or does it just support it
<eyJhb> I have NO CLUE about the ecosystem honestly
<Valodim> no, Gradle is Groovy
<Valodim> which is a dynamic jvm language
<Valodim> that's been around much longer than Kotlin, but never really found its niche
<Valodim> hm, no idea about that error
<gchristensen> nice: systemd 246 adds native support for freezing / thawing units
<Valodim> sounds mysterious, as gradle errors tend to
<infinisil> gchristensen: With persistence to disk?
<eyJhb> I will sacrifice myself then Valodim , and register for their slack...
<eyJhb> :(
<infinisil> I guess probably not
<gchristensen> no
<Valodim> what a trooper o7
<infinisil> Still neat
<gchristensen> yeah
<eyJhb> I hate my life Valodim . It is from the gradle2nix project I get these errors
<eyJhb> Fuuuck me, I hoped it was some other place. Now I am more lost than before
<Valodim> dang
<eyJhb> I really can't read Java anymore
<eyJhb> I feel like I can read no lang atm.
<Valodim> the issue makes it sound like a gradle bug
<Valodim> but two years are a long time, gradle is still a moving target
<eyJhb> Yeah, but I think that gradle2nix uses Gradle in a "weird" way, to get these dependencies
<Valodim> I think dependency pinning became a thing only relatively recently
<Valodim> so perhaps it's just buggy still
<Valodim> especially around the edges, yeah. I can well imagine gradle2nix uses relatively obscure apis
<eyJhb> Looks somewhat promising
<eyJhb> But I wish tadfisher was on here
<eyJhb> Maybe it can be used Valodim ? https://termbin.com/r6fj
<eyJhb> Time for the usual Nix shaming in a little while
rardiol has quit [Ping timeout: 246 seconds]
rardiol has joined #nixos-chat
<eyJhb> ... My cat ate something. I have no idea what...
<eyJhb> Guess who is sleeping with me tonight I guess
<worldofpeace> miau
<worldofpeace> cat are nice... maybe...
<JJJollyjim> cat are indeed nice
parsley936 has quit [Remote host closed the connection]
<worldofpeace> I once touched cat. I can also confirm... was nice. (kinda soft)
ottidmes has quit [Ping timeout: 258 seconds]
<lovesegfault> gchristensen: did you ever get the Aeron?
<eyJhb> worldofpeace: she is the cuddliest little girl, but amazingly stupid as well.
<eyJhb> She is very soft however, 10/10
<eyJhb> And on that note. I should go to bed
<eyJhb> At least I got some apps compiled today
ottidmes has joined #nixos-chat
<worldofpeace> eyJhb: that sounds very cat to me. 10/10 would cat again
ottidmes has quit [Ping timeout: 256 seconds]