gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
Guanin has quit [Remote host closed the connection]
drakonis1 has joined #nixos-chat
drakonis_ has quit [Ping timeout: 264 seconds]
f0x2 has quit [Quit: WeeChat 2.4]
day|flip has joined #nixos-chat
das_j has quit [Quit: "Bye!";]
andi- has quit [Remote host closed the connection]
andi- has joined #nixos-chat
jasongrossman has joined #nixos-chat
jasongrossman has quit [Ping timeout: 272 seconds]
<ashkitten> clever: i forget, does the default install image contain zfs?
<samueldr> ashkitten: it now does
<ashkitten> yay
endformationage has quit [Quit: WeeChat 2.5]
<ashkitten> hmm
<ashkitten> i guess i have to build my own image anyway
<ashkitten> need zfs 0.8.1
day|flip has quit [Remote host closed the connection]
<ashkitten> my kernel keeps panicking wth
<ashkitten> apparently an iommu bug
Guanin has joined #nixos-chat
LnL7 has joined #nixos-chat
Jackneill has joined #nixos-chat
jasongrossman has joined #nixos-chat
<Shados> ashkitten: you can nixos-rebuild switch on the iso btw, assuming you have the ram for it
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.2)]
jasongrossman has joined #nixos-chat
<tilpner> Shados: That doesn't work for kernel modules, right?
jackdk has quit [Quit: Connection closed for inactivity]
__monty__ has joined #nixos-chat
<pie_> on that note its been bothering me for a while but i kept forgetting to ask
<pie_> how the heck do you manually load kernel modules in nixos
<pie_> none of the insmod or whatever stuff works properly
das_j has joined #nixos-chat
<sphalerite> pie_: modprobe should work, as long as the kernel version is right.
<sphalerite> pie_: it should _always_ work with /run/booted-system/kernel-modules, which is the default iirc.
<sphalerite> pie_: if you want to load modules from a different modules tree, you can pass `-d <path>` to modprobe to get it to use that, but whether that works depends on the kernel version being the same
<das_j> sphalerite: Thanks for telling me about -d, that will help in the future
<pie_> hm. i cant remember why i had issues, but i guess ill ask again when i run into trouble
<das_j> also, strace shows me: /run/current-system/kernel-modules/lib/modules/4.19.58/modules.symbols.bin
<das_j> So not booted-system :/
<sphalerite> aah right, that explains it
tilpner has quit [Quit: WeeChat 2.4]
<sphalerite> Anybody know things about home automation? I have some electric blinds that I'd like to be able to control with a computer too. They're currently controlled by mechanical wall switches which, judging from the gauge of the wires, might be carrying mains voltage
jackdk has joined #nixos-chat
<etu> sphalerite: I would probably look at some kind of power relay and hook up an ESP8266 or something. Then you can control the power safely from that microcontroller.
avn has quit [Read error: Connection reset by peer]
<makefu> ,locate bin remarshall
<{^_^}> Couldn't find in any packages
<makefu> ,locate bin remarshal
<{^_^}> Found in packages: remarshal
<makefu> that explains that
<sphalerite> etu: hmm, could that be compactified in such a way that I can stick it behind the wall switches and have it look the same as before?
<etu> sphalerite: yes
<sphalerite> nice
<sphalerite> and maybe it could even make the wall switches take the shutters all the way down rather than only moving them as long as the button is being held :o
<etu> I have a bunch of Nexa AN-179 that I have behind some light switches
<etu> Which makes the light switches still work as light switches
<etu> But with a Z-Wave stick I can control those light switches through home-assistant
<sphalerite> so is the light switch connected to the nexa thing rather than the light directly?
<etu> yep
<sphalerite> nice
<etu> And as a "controller" I have a Aeotec Z-stick Gen5 USB
<etu> that home-assistant talks to
<etu> and can then control those devices
<sphalerite> ah, nexa is a swedish thing
<etu> Oh? I didn't know :D
<etu> sphalerite: But there should be others as well I guess :D
<sphalerite> but I'm guessing most esp8266 things should be flashable with esphome and configurable to do what I want?
<etu> Why didn't I know about esphome? :D
<sphalerite> :)
<etu> oh wow
<etu> I usually write my own code for esp8266 in micropython :D
<etu> This can probably replace most of those
<sphalerite> \o/
<sphalerite> yaml though
<manveru> anyone got a cli app for searching lyrics?
<infinisil> That thread definitely needed a nix mention
<etu> zimbatm++
<{^_^}> zimbatm's karma got increased to 8
<sphalerite> manveru: no, but I'm interested in any results you find
<manveru> nothing good so far... also seems like there's no unified site for lyrics :(
<manveru> at least not if you care about lyrics in more than one language
<etu> manveru: I think it's a kinda hard thing to do due to copyright etc. Same issues as subtitles which there is sites for but yeah...
<manveru> exactly
<etu> But lyrics may be even harder due to a wider range of tracks available and harder to actually obtain the data.
<manveru> not sure if it got better, but finding japanese subs used to be next to impossible as well
tilpner has joined #nixos-chat
<pie_> joepie91, so theres the "all things lead to ___" thing, but apparently for me its "nix leads to all things"
<pie_> i am now poking at idris guts because muh packages
<Taneb> Does systemd have a way to print out what gets loaded when on boot?
<sphalerite> Taneb: loaded where?
<Taneb> Started, I mean
<Taneb> Or "attempted to be started"
<sphalerite> so units?
<Taneb> Yes
<sphalerite> systemctl list-units I think
<sphalerite> (or just systemctl)
endformationage has joined #nixos-chat
<Taneb> (I'm trying to set up Nix on Centos, for my sins)
<Taneb> (the nix-daemon service unit doesn't get started on boot for whatever reason, and I don't know how to fix this)
<Taneb> (or even how to debug it)
<joepie91> pie_: I have learned a lot about Linux userland internals since starting to use Nix :p
<sphalerite> ^ +1
<gchristensen> +1
<Taneb> Nix is like scuba gear for Linux userland internals
<Taneb> People do dive deep without it, but it's a lot less terrifying with it (and once you have it, why not go diving?)
<gchristensen> oh man that is cool
<joepie91> heh, exactly
<sphalerite> :D
<gchristensen> today I was remembering my first days of using Nix/NixOS: it took me 7 days from joining IRC to sending my first patch. I love Nix for this. it makes it so easy to participate
<samueldr> :o 7 days?
<samueldr> after a couple hours in a VM, couple being used in the literal about two sense, I fired off a PR and it got reviewed and merged so amazingly quickly it was great to see
<samueldr> (though I didn't end up switching at that time)
<pie_> yes at the less terrifying <Taneb> People do dive deep without it, but it's a lot less terrifying with it (and once you have it, why not go diving?)
<pie_> i havent really thought of that whole ordeal in a such a positive way yet but i guess i like it. hm.
<pie_> for me so far its mostly been "oh no what the heck is going on" xD
<pie_> where do i add stuff to the weekly?
<Taneb> pie_: ^
<pie_> oh i was looking at the issues not the pull request
<eyJhb> gchristensen samueldr I think I hated my life for a couple of days to begin with, but after I think 3-4 days of struggling with Displaylink, I got it working and sent a PR :p
<eyJhb> And I have struggled with it ever since. But I love how quick PRs gets merged
<pie_> ehhhh mixed experience :D but nix is pretty dynamic overall which is great
jackdk has quit [Quit: Connection closed for inactivity]
Drakonis has quit [Quit: WeeChat 2.4]
Drakonis has joined #nixos-chat
drakonis1 has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos-chat
drakonis1 has joined #nixos-chat
Drakonis has quit [Read error: Connection reset by peer]
drakonis_ has quit [Ping timeout: 246 seconds]
Drakonis has joined #nixos-chat
drakonis1 has quit [Ping timeout: 250 seconds]
Drakonis has quit [Ping timeout: 264 seconds]
<eyJhb> pie_: eh, I still like Nix way better than anything else. My biggest problem is, I am not enough into the nix language itself...
<eyJhb> But I still think it would be awesome, if one could do `python36Packages.requests=1.2.3`
Jackneill has quit [Remote host closed the connection]
<pie_> wellll if people followed some conventions you could do something like "constrain python36Packages.requests 1.2.3" or something
<pie_> where constrain is some arbitrary function
<pie_> which interfacewise wouldnt be that far off
<pie_> well ok youd have to quote the 1.2.3
<pie_> the "if people followed some conventions" is doing an awful large amount of work here though
{^_^} has quit [Ping timeout: 276 seconds]
<infinisil> Well, you'd have to have a meta-nixpkgs which allows you to query every past nixpkgs revision for package versions..
<infinisil> Because every nixpkgs revision only really contains one version of a package
<infinisil> (I am interested in writing such a meta-nixpkgs)
<infinisil> Would be really useful
<joepie91> or alternatively just include historical versions in a nixpkgs(-like)
arianvp has quit [Quit: WeeChat 2.4]
<pie_> infinisil, yeah im kind of sad the current nixpkgs paradigm doest really handle that
<pie_> i keep saying im a shitty librarian, i want information to be accessible
<pie_> unrelated, has anyone ever run into a dyslexic programmer? >_>
jasongrossman has quit [Ping timeout: 245 seconds]
<pie_> ok actually i can just google that
<__monty__> I don't know why not. I'm sure dyslexic mathematicians have a harder time.
<ldlework> strong IDE support is probably a god-send to the dyslexic
<__monty__> Also a good type system imo. Would catch a ton of transposition-style mistakes.
<ldlework> yeah
<__monty__> Fwiw, there *was* a heavily dyslexic student in my CS program.
<ldlework> rip
<gchristensen> for math I think the problem is dyscalculia
<__monty__> gchristensen: Nah, that's dyslexia specific to numbers.
<__monty__> Everyone knows that numbers hardly matter in math, it's all about letters : )
Myhlamaeus has joined #nixos-chat
<infinisil> It's slightly annoying how so many people think math is just numbers and calculating
<__monty__> That seems to correlate pretty good with a dislike of math as well.
<gchristensen> I think dyscalculia is more than just numbers
<__monty__> According to wiki it's specific to arithmetic.
<gchristensen> ah
<pie_> probably stuff like what is 17+29 or something as opposed to reading the numbers
<pie_> hm. i wonder how that works.
<__monty__> Maybe it's more like 8-5 = -3?
<pie_> __monty__, i really dunno, could be
<pie_> should probably read the symptoms section
<pie_> hmm, im suddenly interested in this kind of 'inherent failure to understand' stuff
<__monty__> I'm sure there's tons of cognitive science-y stuff about that out there.
<pie_> definitely
<pie_> oh well, maybe i should make some more tangible progress on my nix project first
<ajs124> pie_: I constantly switch digits in numbers <100, but my assumption has always been that that's because I'm german
<pie_> lol
<pie_> im not german so i know how it goes doing that with german..
<ajs124> completely different topic: if one delivers an e-mail to google via smtp, is there any way to know if it ended up in the recipients inbox?
<ajs124> pie_: the way we say numbers is kind of like endianess conversion. you swap shit around for no good reason.
<lassulus> tracking pixels
<lassulus> otherwise no, that could be used to train spam
<ajs124> yeah, that's what I assumed -.-
<infinisil> ajs124: Damnit, this number switching in german is so annoying
<infinisil> Depending on whether I speak english/german the order is different
<infinisil> And I'm often flipping them around unconsciously
<infinisil> I once stood at platform 43, not realizing my train was at 34
<samueldr> though, those platforms are likely to be next to eachothers, otherwise why would it use the same numbers?
<ajs124> I would expect there to be 9 platforms to be inbetween these two
<infinisil> Well, it's not this easy, the Zurich train station has platforms all over the place
<infinisil> And 34 and 43
<infinisil> are not visible from each other
<samueldr> (it was a half-assed attempt at humour)
<samueldr> I mean, you just had to spin around, and there you were
<infinisil> Ah lol, I almost thought so
<infinisil> Hah
<pie_> we should hold a party every thousandth issue
<gchristensen> that is a lot of parties
<pie_> only 65 so far
<gchristensen> roughly one a month
<pie_> sounds reasonable :P
<samueldr> your idea might need a scale different than linear
<pie_> samueldr, shhhh
<pie_> cant merge, devs drunk
Drakonis has joined #nixos-chat
<pie_> and its *still* th efastest issue tracker in the west! ;P
<gchristensen> some people asked me to write about booting without stuff in `/`, and how I do this on every boot. (ie: my self-erasing root partition.) anyone have specific things they'd like covered?
<ajs124> pie_: I'd be up for that monthly party :P
<ashkitten> gchristensen: where do you write?
<gchristensen> grahamc.com
<ashkitten> cool
<__monty__> gchristensen: Mostly the motivation for doing so : )
<ashkitten> added it to my feed reader ;3
<gchristensen> that is a good one, __monty__
<samueldr> gchristensen: promise that you will update the post with an inventory of oopsies :)
<samueldr> (if any)
<gchristensen> oh, like times I've lost data?
<samueldr> yes
<__monty__> ashkitten: You too have a feedreader that accrues all these interesting blogs to never get around to reading? : )
<samueldr> not as "it's a bad idea", but "you may end up needing X"
<ashkitten> i keep up with them!
<gchristensen> right
<gchristensen> like the time I lost all my bluetooth pairings
<samueldr> learn from the mistakes of others!
drakonis_ has joined #nixos-chat
<samueldr> sounds about right
<gchristensen> and then discovered my headphones "pair" button doesn't work, rendering my expensive headphones unusable
<samueldr> :o
<__monty__> How'd you get them paired the first time?
<gchristensen> I pressed the pair button
<ashkitten> i'm subscribed to around 13 different feeds and keep up with them
<samueldr> weird question, but did you try turning them off and on again^W^W^W^W^W^W check the manual?
<ashkitten> best way to read webcomics
<gchristensen> samueldr: I did, and I did
<gchristensen> the button doesn't click, I press it and it mushes in and stays in until it decides to fumble its way out
<samueldr> I agree it's the better way for webcomics, a good RSS reader; not a contest, but 35 feeds only in the webcomics category...
<samueldr> ... though tbf a bunch of those stopped updating :/
<samueldr> gchristensen: I assume they're out of warranty, then it's time to explore the reason why :D
<gchristensen> they're maybe not
<ashkitten> i'm currently keeping up with el goonish shive and questionable content
<samueldr> oh then do not
<gchristensen> but sennheiser won't reply to my email asking if they're out of warranty or not
<ashkitten> both of which i highly recommend btw
<__monty__> Oh, I agree. It's just that I can't seem to keep up with the feeds. Have 8k unread posts rn...
Drakonis has quit [Ping timeout: 276 seconds]
<gchristensen> rather, if I bought them at an authorized senheiser seller
<__monty__> Though that does include some GHC mailing lists.
<ashkitten> i wonder if i should read any other webcomics
<ashkitten> i need more things like egs
<ashkitten> i love the genderfuck so much
<gchristensen> might be time to repurpose my dell xps 9560 in to a buildkite builder, instead of just sitting, battery empty, on my desk.
<__monty__> Any specific reasons for buildkite?
<gchristensen> (1) it lets me use my own machines (2) it is hosted (3) it is free for oss
Jackneill has joined #nixos-chat
<gchristensen> (4) you don't have to statically define your build definitions. one step of your build can generate further steps
<__monty__> Ok, cool. Was expecting hydra or hercules tbh.
<gchristensen> I'm doing dirty and impure things
Drakonis has joined #nixos-chat
<__monty__> Ah, R-rated builds.
<gchristensen> exactly
<gchristensen> I run things like r13y.com, deploying ofborg, verifying the nix installers on real systems, building (and verifying) packet.com installers, etc.
<Drakonis> oh no i missed the flakes rfc
<gchristensen> missed? nah
<Drakonis> there's 110 comments already
<Drakonis> the hottest rfc
<gchristensen> wowzers
<infinisil> Oh wow, missed it too, that's a lotta comments
avn has joined #nixos-chat
<Drakonis> only two days in
<gchristensen> it is a big and important one :)
averell has quit [Quit: .]
<Drakonis> yes, i agree.
<Drakonis> a whole lotta progress right there.
<Drakonis> this one's going to cook up for a month
averell has joined #nixos-chat
{^_^} has joined #nixos-chat
Jackneill has quit [Remote host closed the connection]
__monty__ has quit [Quit: leaving]
jackdk has joined #nixos-chat
<gchristensen> mapping sounds hard