gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
<energizer> yes
<energizer> there's like 4 synonyms for build/mk/..
<abathur> :]
<abathur> only YOU can prevent sloppy APIs
<abathur> I could use some input from someone sensitive to things like this if you have a little time? no worries if not, though
xd1le has quit [Quit: Quit]
<samueldr> makeBuild is a function that builds using make, and buildMake is the function that builds make
<samueldr> :D
<samueldr> (I'm obviously joking)
* abathur swoons
<abathur> and buildMakeBuilds...
<energizer> abathur: dunno if i can help but you can ask :)
<samueldr> abathur: mkMakeBuild for abstraction over making builds with make
<abathur> unMkMadeBuild...
<abathur> <3 energizer making a gist real quick
<{^_^}> energizer's karma got increased!
<abathur> "Secret gists are hidden by search engines but visible to anyone you give the URL to."
* abathur gives the URL to the IRC log
<samueldr> abathur: <meta name="robots" content="noindex, follow" />
<samueldr> the contents won't be indexed by good citizen bots
<abathur> :)
<abathur> I know, just noting that I'm still giving it to posterity :P
<abathur> energizer: for now most-focused on the actual executable name, and the Nix package
<energizer> i like the executable to have the same name as the project, and i prefer the name resholve over resholve(d|r)
<energizer> i think nixpkgs should develop some naming conventions
<abathur> can you reflect a little on why resholve over d/r?
<energizer> what does the executable command do?
<abathur> resolve relative commands in shell scripts to absolute paths (primarily, but not only, for Nix builds)
<abathur> bare commands I guess I should say; things that would be resolved from PATH
<energizer> it's a verb, it should use the english naming convention for verbs
<abathur> I've been trending that direction in my preference over time, and I feel subjectively like commands named like this may be easier to remember
xd1le has joined #nixos-chat
<cole-h> abathur: I agree with energizer -- resholved over others if the project name doesn't change, else change both to resholve.
<energizer> *d is already a strong unix convention for names of daemons
<cole-h> ^
<samueldr> time to make it a daemon
<cole-h> lol
<abathur> mkDaemonHandlerDaemon
<abathur> <3 cole-h
<{^_^}> cole-h's karma got increased to 87
<abathur> assuming a resholved -> resholve change, thoughts on the Nix package layout and names, particularly the "builder", and maybe how a setup hook should fit in?
<cole-h> abathur: resholve.resholve, resholve.resholvePackage, and resholveHook sound good to me.
<cole-h> resholve.buildResholvePackage also doesn't sound bad
<abathur> I always kinda wanted it to be resholvePackage, but I parroted build since it seems common
<cole-h> tbh, until we have an actual document that says otherwise, I'd prefer to use resholvePackage
<cole-h> 1) shorter 2) shorter
<abathur> let them make policy!
<cole-h> bqv: What is vervis?
<bqv> cole-h: rc.fron.io
<cole-h> So it's just a repo host?
rajivr has joined #nixos-chat
aleph- has quit [Quit: WeeChat info:version]
aleph- has joined #nixos-chat
<bqv> Yeah
<bqv> cole-h: Like gitlab/gogs/gitea, except it's federated like mastodon/matrix
<bqv> So I can post issues on dev.angeley.es, using my dev.fron.io account, e.g.
<bqv> And I can follow repositories through federation, etc
<bqv> It's cool, I want more people to try it, so I can federate more
maxdevjs has quit [Remote host closed the connection]
maxdevjs has joined #nixos-chat
waleee-cl has quit [Quit: Connection closed for inactivity]
endformationage has quit [Quit: WeeChat 2.9]
maxdevjs has quit [Ping timeout: 260 seconds]
iqubic has joined #nixos-chat
monsieurp has quit [Quit: Lost terminal]
cjpbirkbeck has quit [Ping timeout: 256 seconds]
cole-h has quit [Quit: Goodbye]
xd1le has quit [Ping timeout: 240 seconds]
maxdevjs has joined #nixos-chat
<eyJhb> ,launch
<{^_^}> Ping for space stuff: infinisil Taneb ldlework etu philipp[m] eyJhb
<eyJhb> Sorry, only I could remember
<etu> hey
<etu> eyJhb: What's up?
<eyJhb> ,MrWorldwide = "adisbladis"
<{^_^}> mrworldwide defined
<eyJhb> Does that work?
<eyJhb> ,mrwoldwide
<{^_^}> eyJhb: Did you mean mrworldwide?
<{^_^}> "adisbladis"
<eyJhb> Peeerfeeeect
<eyJhb> ,MrWorldwide = adisbladis
<{^_^}> mrworldwide redefined, was defined as "adisbladis"
<eyJhb> etu: just wanted to make that command, but I was unsure how it worked :p
<eyJhb> Sorry for the fake launch!
<eyJhb> Reminds me etu , we might be working with satelites this semester! :o
<etu> eyJhb: Nice!
<etu> eyJhb: With lasers?
<eyJhb> I cannot disclose that.
<etu> :D
<eyJhb> :p But I am unsure which project we will take, there are also multiple satelite project, some which are about the StarLink sats :p
<eyJhb> There is also a BATMAN project
<etu> That's one of the mesh protocols right?
<eyJhb> Yup, as far as I know. Only heard about it yesterday, but it seems rather cool
<infinisil> etu: eyJhb: While in university I took a Future Internet course which was about creating optimal links between starlink satellites :D
<infinisil> (stationary ones though, not moving)
<infinisil> Let's say instantaneous
<eyJhb> infinisil: did it work?
<eyJhb> Wait
<eyJhb> I am not sure, if I can ask if the course worked...
<eyJhb> Did you make anything cool with it ? :p
xd1le has joined #nixos-chat
<etu> infinisil: Sounds super cool :)
<iqubic> Does anyone here know how to set-up ZFS on NixOS?
<iqubic> Specifically I have a new laptop that has Window 10 on it. I want to wipe out the entire SSD, and partition it with ZFS.
<etu> Shouldn't be any problem
__monty__ has joined #nixos-chat
monsieurp has joined #nixos-chat
<__monty__> Anyone selfhosting radicale/etesync/some other contacts and calendar service? Any gotchas to watch out for; is it worth the trouble?
<infinisil> eyJhb: We used the easy solution of simulated annealing to find a good network xD
<infinisil> Which worked pretty well
<sphalerite> __monty__: selfhosting radicale here, sharing calendars between multiple users is a bit finicky, but other than that it works well
<infinisil> eyJhb: But the teachers were hoping somebody would come up with a smarter solution lol
<__monty__> sphalerite: It's low-maintenance once set up?
<NinjaTrappeur> sphalerite: I'd be interested to know which connector you use to sync your android phone calendar.
<NinjaTrappeur> (if you own a android phone ofc)
<Valodim> I'm using etesync. After initial setup things just worked™ for me
<__monty__> Valodim: Selfhosted or the service?
<Valodim> selfhosted
<Valodim> etesync is literally radicale with e2e
<Valodim> and etesync android is davx5 (formerly davdroid) with e2e
<Valodim> that said, with selfhosting there might not be much point to e2e :P
<sphalerite> __monty__: absolutely
<sphalerite> NinjaTrappeur: DAVx
<Valodim> fun fact: davdroid was renamed to DAVx5 because they couldn't use "droid" (as in, "droid" -> "XXXXX" -> X5)
<sphalerite> huh? Why not?
<NinjaTrappeur> sphalerite: thanks, I'll have a look!
<sphalerite> wow wtf
<Valodim> I don't think the davx folks got a letter or anything, but they launched a small business venture and probably renamed it to be safe at that point
<aleph-> So does something seem off about my firewall extraCommands blocks? It seems to be generating my rules tripled up somehow... so instead of just `-A nixos-fw -i lan -p tcp -m tcp --dport 22 -j nixos-fw-accept && -A nixos-fw -i enp1s0 -p tcp -m tcp --dport 22 -j nixos-fw-log-refuse` for example, it also adds a `-A nixos-fw -p tcp -m tcp --dport 22 -j nixos-fw-accept` preceeding them, which ends up
<aleph-> just completely negating them and yet as far as I can tell my rule generating functions don't do generate anything like that third, far too open rule.... https://paste.rs/GmT
<joepie91> Valodim: I already see two counts on which that article is wrong
<joepie91> 1) there is no such thing as a universal trademark on a term, whether it applies is highly contextual, and 2) "To keep a trademark active, one must vigorously defend it, sometimes excessively" is absolutely false
<joepie91> (but a common claim)
<joepie91> yes, you do need to prevent genericide, but that absolutely doesn't mean that you need to legally overreach or respond to every single case
<joepie91> the more... realistic... explanation of the situation with Lucasfilm is that they just send scareletters to anyone using the term because people don't have the money to fight it anyway, and it doesn't matter whether they are in the right
<joepie91> also, the comment on 'inactivity' in that article refers to the trademark actually not being used anymore, which is unrelated to whether someone sends legal scareletters or not :)
<joepie91> TL;DR this is not how trademarks work, and really what is going on here is the usual legal bullying in capitalism
<Valodim> joepie91: agreed. the fact remains: you have "droid" in a product name, you might need to change your name
<joepie91> from a practical perspective, sure, that's probably the safer option. it's just the characterization of the reasons in that article that I take issue with :D
<Valodim> plenty to take issue with on those matters all around, indeed
parsley936 has joined #nixos-chat
<sphalerite> aleph-: → #nixos; but the reason for that is probably that the SSH module (pretty much the only one to do this) opens the port in the firewall by default.
<sphalerite> > options.services.openssh.openFirewall.default
<{^_^}> value is a function while a set was expected, at (string):321:1
<sphalerite> > nixos./options.services.openssh.openFirewall.default
<{^_^}> /var/lib/nixbot/state/nixpkgs/nixos./options.services.openssh.openFirewall.default
<sphalerite> > nixos.options.services.openssh.openFirewall.default
<{^_^}> true
<sphalerite> aleph-: ^
xd1le has quit [Read error: Connection reset by peer]
xd1le has joined #nixos-chat
<philipp[m]> ,launch
<{^_^}> Ping for space stuff: infinisil Taneb ldlework etu philipp[m] eyJhb
<philipp[m]> Starlink launch in ~50 Minutes
<infinisil> :o
<etu> :O
<philipp[m]> https://www.spacex.com/launches/index.html ~30 Minutes until webcast
<ar> so, what is the oldest kernel nix still runs on? ;)
<ar> (nix, not full nixos)
<ar> because i have a funny little old device here, with this: Linux Sailfish 3.10.20+0.0.47 #1 SMP PREEMPT Sun Feb 16 14:29:29 UTC 2020 x86_64 GNU/Linux
<ar> this is going to be fun
<ar> tar: invalid option -- J
<sphalerite> ar: pff who needs syntactic sugar for piping
<sphalerite> ar: my guess is nix should work, maybe sandboxing won't
<ar> well, after replacing that "tar -xJf" line with "unxz -c | tar", it worked, and i do seem to have nix running there
<sphalerite> \o/
<ar> (also, yes, it's a jolla tablet)
<ar> doesn't look like getting a more-recent kernel running here should be difficult: https://dpaste.com/2Z286YNAQ.txt https://dpaste.com/BZMLNGVYF.txt
<Taneb> philipp[m]: thanks for the ping
<eyJhb> ,launch T-3:45
<{^_^}> T-3:45: Ping for space stuff: infinisil Taneb ldlework etu philipp[m] eyJhb
<infinisil> eyJhb++
<{^_^}> eyJhb's karma got increased to 6
<eyJhb> I am good at forgetting such things in a very short timespan :p
<etu> Me as well
<etu> watching :)
<infinisil> Nice
<eyJhb> I thought they said "abnormal" at one point
<eyJhb> That ship naming :p
<infinisil> <3
<eyJhb> I forgot to watch when it landed...
<ar> now if only i had a microusb usb-otg thing
<sphalerite> ar: nice! Solder one? :p
<ar> sphalerite: or go get one after lunch
<sphalerite> or that.
__monty__ has quit [Quit: leaving]
iqubic` has joined #nixos-chat
iqubic has quit [Ping timeout: 240 seconds]
nullheroes has quit [Quit: WeeChat 2.9]
waleee-cl has joined #nixos-chat
<gchristensen> I just got a coredump from `cat`
<Church_> gchristensen: Fun. Tell it to use the litter box
<abathur> huh
monsieurp has quit [Remote host closed the connection]
monsieurp has joined #nixos-chat
xd1le has quit [Remote host closed the connection]
evanjs has quit [Ping timeout: 258 seconds]
endformationage has joined #nixos-chat
evanjs has joined #nixos-chat
<julm> gchristensen: are you using scudo in /etc/ld-nix.so.preload?
<gchristensen> I'm not, I don't think
<julm> on recent nixpkgs using scudo makes a lot of things crashing starting with tmux
<gchristensen> huh
<julm> (and using /etc/ld-nix.so.preload is broken on nixos is broken anyway)
<julm> s/is broken //
<{^_^}> #96289 (by ju1m, 1 week ago, open): glibc: fix /etc/ld-nix.so.preload sharing
cole-h has joined #nixos-chat
<cole-h> What
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-chat
disasm has quit [Ping timeout: 264 seconds]
disasm has joined #nixos-chat
rajivr has quit [Quit: Connection closed for inactivity]
<samueldr> hah
<samueldr> *trail intel-based platforms are notoriously bad with hw support, not only with linux
nullheroes has joined #nixos-chat
sphalerite has quit [Quit: WeeChat 2.6]
sphalerite has joined #nixos-chat
Church- has joined #nixos-chat
aleph- has quit [Ping timeout: 258 seconds]
<colemickens> I went to go find elementary OS people to ask about pinebook patches. Seems they're on Slack, so abandoning that idea.
<samueldr> :<
<samueldr> and somehow it is irc that is gate keeping people by being unapproachable and inaccessible :/
<samueldr> colemickens: https://github.com/elementary/os/blob/master/build-pinebookpro.sh for additional files as heredocs
<colemickens> Yes! there we go. Thank you for doing all of the hard work, ha. Or already knowing about these.
<samueldr> I didn't
<samueldr> I used a big search engine to search for "elementary git", unsure if it would find something useful
<samueldr> and then on the github organization, bet on searching https://github.com/search?q=org%3Aelementary+pinebook&type=Code
<samueldr> so the main thing to understand here is that they're transparent enough, luckily
<samueldr> not as transparent as a nix build though ;)
<samueldr> might want the cpufreq things too?
<colemickens> I'm still really surprised that search worked out. Hmph. And yeah, I'll skim through this, and another repo that I see is linked in a comment in w-p-p already and see if there's anymore goodies to pickup.
<samueldr> I'm kinda surprised that search worked too
<samueldr> try to get something useful out of debian
<samueldr> I haven't tried since they switched to an internal gitlab though
<samueldr> colemickens: w-p-p?
<colemickens> wip-pinebook-pro
<samueldr> oh
<samueldr> hahaha, that repo name is so bad :)
<eyJhb> we pee pee?
iqubic` has left #nixos-chat ["ERC (IRC client for Emacs 28.0.50)"]
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-chat
<worldofpeace> colemickens: I'm a part of the elementary org
<worldofpeace> I believe slack (the community one) is the best way to reach
<worldofpeace> though tbh, when I wasn't a part of the org u barely get any response from the devs there
<worldofpeace> so at that point it's pms. or if you have a question I could forward it
<samueldr> luckily I believe it's all laid bare for what was desired
<samueldr> +1 for elementary making their repos easy to reach, and not a complete mess like some other distros
<worldofpeace> samueldr: yep, they're very organized in lots of ways 😺
<sphalerite> I now have alerting for my devices' battery levels via prometheus. That's the normal way to do it, right?
<gchristensen> I have that, and also for my SmartThings devices ...
<samueldr> sphalerite: tv remote?
<sphalerite> samueldr: I don't have a TV, much less a remote for it :)
<sphalerite> gchristensen has it too, it must be the normal way. :D
noonien has quit [Quit: Connection closed for inactivity]
<worldofpeace> I hope yall are studying the blade like good kids rn
<sphalerite> oh btw gchristensen given that you closed nixops#665 but apparently had the need for it — how are you handling this nowadays, or do you no longer need multiple nixpkgs versions in one deployment?
<{^_^}> https://github.com/NixOS/nixops/pull/665 (by grahamc, 3 years ago, closed): Support multiple versions of nixpkgs in one network
<energizer> sphalerite: laptop only, or also phone?
<sphalerite> energizer: only the laptop, for now… Will monitor one or two of my phones when I get the mobile-nixos wifi working, and the other if I can be bothered to look for a node-exporter-like thing for android :)
<energizer> there's actually a battery-level api in browsers, so you could probably just have your phone connect a browser to your own server and query for battery level
tokudan has quit [Remote host closed the connection]
tokudan has joined #nixos-chat
tokudan has quit [Remote host closed the connection]
tokudan has joined #nixos-chat
<sphalerite> energizer: sure, if I want to have the web page open in order to get the alerts :p
<sphalerite> also, my phone is usually going to be the device through which I receive the alerts, so eeeeh
<energizer> sphalerite: yeah i'm not sure if it works in the background or not
<sphalerite> I don't think it does
<sphalerite> I could use a level of indirection like the home assistant app, then use the prometheus exporter for home assistant
<sphalerite> but I can't use the home assistant app because it has a hard dependency on gapps
<sphalerite> nonetheless something like that should be possible and probably exists.
<colemickens> sphalerite: seems silly that it needs gapps given it feels like it's mostly a webview wrapper -_-
<sphalerite> colemickens: is it really? I had the impression that it does a fair bit more
<samueldr> yeah, it's not on f-droid
<samueldr> I am using the web GUI instead on device
<colemickens> oh wow, interesting sphalerite that's a well-documented page
<colemickens> (and I stand corrected)
<colemickens> samueldr: I continue to try the native app every few months and constantly find that I have to "swipe it away" on Android and re-open it to get it to 'load', versus the webapp that acts like I expect.
<samueldr> :|
<samueldr> good thing I don't really like home-assistant, and the only reason it's still setup is that it'd make it easier to tweak that one lightbulb that's not on hue
<{^_^}> home-assistant/android#682 (by JBassett, 4 weeks ago, merged): Minimal Android Flavor
<colemickens> OSS strikes again!
<colemickens> very cool, a testament to how big H-A has gotten
<colemickens> It's not as appealing to me anymore, but my dad has been able to do an impressive amount of stuff iwth it already.
<sphalerite> yeah it's very powerful and convenient
<sphalerite> * except for its nix packaging
* sphalerite is ashamed to admit he runs it as a docker image because the nix stuff is too much of a pain
<sphalerite> samueldr: why do you not like home-assistant?
<samueldr> the experience to me felt... so bad
<samueldr> it took restarting HA two times for the bulb to finally show up
<samueldr> and it feels like HA is not what I want, either
<samueldr> HA seems to rather be "MQTT toolkit where you fill it with many source of misc. data"
<samueldr> what I want is "control my damn lights"
<colemickens> samueldr: when did you last try it?
<samueldr> couple months back
<samueldr> so, other than the issue with getting the thing paired, it's more that I don't fir its use case
<samueldr> so it feels like I'm having to carve a part out of it for my use, which gets clunky
<samueldr> and, saying it again, it's more that I don't fit the use case it's apparently designed for
<sphalerite> fair enough
<samueldr> what I want is more of a "looking glass" over the state of the smart devices on my network, rather than some kind of historical almanach of data points
<samueldr> looking glass where I can reach in and change the state
<samueldr> and maybe make rules acting on instantaneous or time-based events, but that's not even strictly something I would like in the same software
<sphalerite> I think I fit the use case quite well, but I do find it clunky as far as the automation language is concerned
<sphalerite> and it's definitely not lightweight :D
* sphalerite has just installed the minimal app :)
<sphalerite> colemickens: thanks for prompting me to check again! I was very pessimistic about the whole thing because they'd reacted in quite a hostile fashion for the issue where it was asked about
<colemickens> that's my home-assistant setup using the nixos module that mic\92 mostly maintains
Church- has quit [Ping timeout: 258 seconds]
<sphalerite> colemickens: idk if I've been unlucky, but during the times where I used the nixos module, I constantly had failing rebuilds because of some python dep breakage
<colemickens> sphalerite: yes, I have had to keep a separate nixpkgs around for it that progresses at its own rate for that reason
<sphalerite> right
<sphalerite> yeah I really couldn't be bothered with that x)
Church- has joined #nixos-chat
Church- has quit [Ping timeout: 258 seconds]
Church- has joined #nixos-chat
Church- has quit [Quit: WeeChat info:version]
aleph- has joined #nixos-chat
julm has quit [Ping timeout: 260 seconds]
disasm has quit [Ping timeout: 264 seconds]
disasm has joined #nixos-chat
<drakonis> haha god damn it i'm back on nix
<drakonis> nothing is as easy and painless as nix
<samueldr> NixOS please :)
julm has joined #nixos-chat
<ashkitten> ,locate bin nfsd
<{^_^}> Found in packages: nfsUtils, linuxPackages.bcc, linuxPackages_4_4.bcc, linuxPackages_4_9.bcc, linuxPackages_5_5.bcc, linuxPackages_4_14.bcc, linuxPackages_4_19.bcc, linuxPackages-libre.bcc, linuxPackages_hardened.bcc, linuxPackages_xen_dom0.bcc, linuxPackages_latest-libre.bcc, linuxPackages_latest_xen_dom0.bcc, linuxPackages_testing_bcachefs.bcc, linuxPackages_testing_hardened.bcc, linuxPackages_latest_xen_dom0_hardened.bcc
<ashkitten> how do i get nfsd...
<Ashy> drakonis: it really is ahead of it's time aye
<Ashy> shame it still has such a high learning curve but i think a "batteries included" config for new installs would go a long way
<Ashy> i might bash one together soon and see what people think
<drakonis> NixOS sure
<drakonis> laziness gets the best of me
parsley936 has quit [Remote host closed the connection]
<Church_> Welp RIP my tt-rss setup
<Church_> Seems tt-rss can't read any of my stuff in my pg db?
<abathur> I don't always add dumb bugs to my tests, but when I do, they tend to obscure subtle problems with something I thought I'd already fixed
<Church_> And was able to get in, yesss