<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
<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
<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`
<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>
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
<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
<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>
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
<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"
<{^_^}>
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