gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
<ivan> ah
<gchristensen> good lord that is a nightmare
mog has joined #nixos-chat
<infinisil> Will be going to NixCon after all, all booked :D
<samueldr> yay!
<gchristensen> yay!
<infinisil> However, just when I was done booking everything I checked out discourse, where I found https://discourse.nixos.org/t/getting-to-nixcon-2019-brno/3536
<infinisil> And now I feel bad because I booked a flight
<infinisil> I didn't even think of the environment, but the flight is more than 5 hours faster
<samueldr> did you include the trip from home to the airport/train station, and time for airport madness?
<infinisil> samueldr: Yup
<pie_> infinisil: yaay <3
<pie_> also oh no i havent done anything other than but con tickets yet
<pie_> are there any people looking for roommates
<pie_> infinisil: how did i not see that post
<infinisil> I'm also wondering lol, I somehow missed it completely
Drakonis has joined #nixos-chat
<pie_> did you guys know this is a thing i didnt know this is a thing https://developer.mozilla.org/en-US/docs/Web/Security/Subresource_Integrity
<infinisil> I think I read about this before yeah, pretty neat
<gchristensen> oh yeah, pretty good
<pie_> FML ran something with strace and now it works
<pie_> how am i suppoesd to fix th problem! :P
<ashkitten> "it works in the debugger" --> just always run it in the debugger ;)
<pie_> heh heh heh
<pie_> meh ... or its a race
Drakonis has quit [Quit: WeeChat 2.4]
endformationage has quit [Quit: WeeChat 2.5]
ajirx has joined #nixos-chat
Jackneill has joined #nixos-chat
<qyliss> I decided to just not fly any more a little while ago, and it's been really fun!
<qyliss> I may make an exception if I ever have to travel transatlantic
<qyliss> I've done 17-ish hours Edinburgh -> Berlin a couple of times.
<qyliss> And Interrail is great. I'm going to a couple of conferences a couple of weeks apart in Oct / Nov, and I can buy one ticket for the whole journey, for not much more than a standard journey would be.
<joepie91> pie_: no idea, but I have a physical e-reader, so I don't get to deal with that problem very often :P
<joepie91> pie_: I do believe I saw a project recently to build a non-crap ebook reader
<joepie91> but can't recall what it was called...
__monty__ has joined #nixos-chat
ivan has quit [Quit: lp0 on fire]
ivan has joined #nixos-chat
<qyliss> zimbatm++
<{^_^}> zimbatm's karma got increased to 9
<andi-> qyliss how was your user experience with interrail? We tried to travel to Lisbon from Frankfurt and it was a huge mess.. They made the mistake of copying data between form but applying different validators (the signup allows mail addresses with +, the seat resverations for sleeping wagons doesn't but you can't edit it either)
<andi-> The website didn't list any contact details. The about us page threw a 404. The support form did throw a 500. The ID card numbers they required were suddenly not valid anymore but also immutable…
<zimbatm> qyliss: have you tried using the night trains already? I figured that if I sleep, it's 8h less on the travel
<zimbatm> going as a group is probably a lot more fun as well, you can do your own mini hackday in the train
<qyliss> andi-: I’ve never had a problem like that. I usually reserve with the train companies directly.
<qyliss> zimbatm: I often do the London -> Edinburgh night train at the end of a journey. It’s really good.
aszlig has quit [Ping timeout: 258 seconds]
<zimbatm> I heard there was two routes to Edinburgh, one of them is wobbling quite a bit. Add a lullaby and you'll be sleeping like a baby :p
<joepie91> also posted this in the community thread, but
<joepie91> useful for trip planning
<joepie91> does anywhere -> anywhere
<joepie91> example ^
<eyJhb> Aw.
<eyJhb> 21.000,- DKK from Aalborg to Hawaii
<joepie91> eyJhb: that's not even a very interesting route :P
<eyJhb> Nope, actually quite easy
<eyJhb> And some prices down to 4.000
jD91mZM2 has quit [Remote host closed the connection]
jD91mZM2 has joined #nixos-chat
<joepie91> eyJhb: ^ far more interesting :P
<eyJhb> Not a fan of your links joepie91 :( The last > gets included when I open them :p
<joepie91> eyJhb: interesting, which client?
<eyJhb> Yeah, that looks more interesting. You would be somewhat disappointed though...
<eyJhb> Weechat, but it is some custom plugin for opening links
<eyJhb> s/custom//g
magnetophon has quit [Ping timeout: 245 seconds]
<joepie91> eyJhb: right. bug report filed with bridge operator :P
<joepie91> so it'll probably be fixed by tomorrow lol
<eyJhb> I am somewhat uncertain, does > make sense in a URL without URL encoding?
<eyJhb> Damn, will it?
<eyJhb> Wait, pixie town? Not official Matrix bridge?
<joepie91> correct
<joepie91> bridge run by a friend
<eyJhb> Make a PR for him then!
<manveru> heh... i just replaced hakyll with like 200 lines of nix :)
<joepie91> eyJhb: it's a config thing :P I've already suggested a new template
<joepie91> eyJhb: also he'll be here the next two days so I can probably just pester him about it lol
<manveru> well, almost, will probably be 300 or so when i'm done, and it heavily abuses IFD, but who cares :D
<eyJhb> manveru: damn, nicely done!
<eyJhb> joepie91: ahh, makes sense then!
<__monty__> manveru: No styx?
<manveru> i tried styx, but it was way too bothersome
magnetophon has joined #nixos-chat
<manveru> plus i didn't want to rewrite all my templates in nix
<joepie91> eyJhb: I'll admit, that wasn't the gif I was expecting :P
<__monty__> Hmm, too bad. Why do people always seem to overengineer these things?
<joepie91> because they'll build it Properly, Dammit
<joepie91> in fairness, that's basically true of Nix itself as well, design-wise
<joepie91> like attracts like?
<eyJhb> joepie91: do I want to know which gif you were expecting?
<joepie91> eyJhb: something more generic :P
<__monty__> But not everyone likes the same template language. So why not let people choose. Just specify an interface your SSG needs to the templating binary.
<manveru> __monty__: well, my approach is basically this https://www.irccloud.com/pastebin/UJrJVs3n/
<qyliss^work> who needs a template language when you have substituteAll :P
<manveru> which is admittedly an evil hack, but i'm proud of it anyway :P
<manveru> so in my html i can now just say `${ args.title }` or `${ partials.footer }`, and they get replaced
<__monty__> That looks pretty darn inscrutable.
<manveru> also debugging is nearly impossible due to the name missing
<__monty__> So you *did* switch to nix as your templating language?
<manveru> pretty much, yeah
<manveru> all is well until you use `''` in your HTML
<__monty__> -_-
<manveru> :D
<manveru> man i love hacks like that
<__monty__> Tbh, my resume system isn't much better, it's reST wrapped in dhall built with shake.
psyanticy has joined #nixos-chat
<manveru> i can probably speed it up some by switching to plain `derivation`
<manveru> right now it does about 1 template per second :(
<eyJhb> joepie91: not that lucky ;) It is a good gif!
<eyJhb> Also this - https://www.youtube.com/watch?v=ZZIHJ8onpBQ, I find a gif to send to someone who has bunnies. She will hate me. 03:50 for the good part
<joepie91> will look later
<joepie91> currently cleaning the house on a deadline :P
<eyJhb> Deadline like tomorrow joepie91 ?
<joepie91> eyJhb: more like "in 2.5 hours" :P but I suspect you're on the right track as to the reason for the deadline
<__monty__> Well you just said a friend was coming over.
<joepie91> eyJhb: apparently > should not be valid in a URL
<__monty__> I suspect the plugin uses REs to determine what the url is.
<eyJhb> I have no clue what the plugin is called now..
<eyJhb> Ahh, found it
<eyJhb> It matches anything except, tabs, spaces, newline carriage returns
<eyJhb> Damn..
<__monty__> With an RE?
<eyJhb> Yeah
<__monty__> Figured. PR it and make life better for everyone : )
<eyJhb> I generally am not a fan of the plugin, should find something else or make my own...
<eyJhb> It has line limits etc. So if someone posts a link overnight, I have to mark it myself and copy
<__monty__> Do you use kitty?
<eyJhb> Nope, urxvt, so I can use the shortcut for that
<eyJhb> UNLESS the link is wider than my 24" monitor
<__monty__> Kitty handles wrapped urls fwiw.
<eyJhb> __monty__: do you use weecaht too? Because with a sidebar I am having a hard time seeing how it would handle it
<eyJhb> weechat*
<__monty__> Oh, nope.
<__monty__> Guess now you know why a sidebar isn't useful : >
<__monty__> #irssihasthebetterdefaults ; )
<eyJhb> I can disable it, but for smaller channels it makes sense :p
<eyJhb> NixOS chats are 30+ people, not so much
<__monty__> Uhm, #nixos has 900+ people.
<eyJhb> Ah, that sentence did not make sense
<eyJhb> For chats like NixOS the sidebar is useless. But if there are like less than 30 people in the chat, like #aau, then it is nice to see who is online
<eyJhb> We are lesss than 10 in #aau..
<__monty__> Then why do you even need a sidebar? All the nicks are probably in the scrollback on your screen.
<eyJhb> People come and go :p
<eyJhb> Not always online, like someone else ;)
<eyJhb> So nice to see when they are active/available
<eyJhb> Like the only chat I don't need it, at all currently, that is less then 30 people is #octp
<eyJhb> Because I am utterly alone in it
<joepie91> inability to copy wrapped URLs when an application has a sidebar is a fault of the limited terminal capabilities, not of the client
<joepie91> (incidentally, this is also precisely the sort of thing why I dislike TUIs)
<eyJhb> Done cleaning joepie91 ?
<__monty__> Just stop worrying and love the bomb. Checking if someone's online is a tab-completion attempt away and really you can just see who's talking to see who's active.
<joepie91> nop
<joepie91> break
<__monty__> joepie91: Easily fixed in this case with a horizontally split "sidebar" though.
<joepie91> ?
<__monty__> Also, GUIs are often even worse though. At least in a TUI you always have the broken functionality available : )
<__monty__> joepie91: Rather than at the side, have it at the top.
<joepie91> that
<joepie91> oops
<joepie91> that's not a "fix", that's a workaround *
<joepie91> and inherent limitations are a very different beast from unnecessary limitations
<__monty__> Guess we have a different definiton of fix.
<joepie91> which is again why I dislike TUIs :p
<joepie91> I mean, if you need to change the UI because your tooling cannot support the intended UI without breaking, that isn't a fix in my book
<joepie91> that's working around the limitations of your tooling, with end user impact
<__monty__> And yet, even with the limitations I prefer TUIs to GUIs. *Because* of, not *despite*, actually.
<__monty__> I'm not saying a GUI can't be better. Just that TUIs generally are.
<joepie91> because it introduces inherent limitations in your ability to copy-paste things?
<__monty__> Among others.
<joepie91> that seems like an odd reason to prefer TUIs.
<joepie91> but you do you, I suppose.
<__monty__> The main reason is I prefer a keyboard focused UX. Which GUIs rarely attempt let alone get right.
<joepie91> that's a separate axis from graphical vs. pseudographical interfaces entirely.
<joepie91> I'm all for more keyboard-accessible GUIs, but that really has nothing to do with TUIs at all.
<joepie91> and plenty of TUIs have badly designed keyboard interactions as well, and support (or are even designed around) mouse operations.
<__monty__> Except it's not because in practice most GUIs have very poor keyboard support while TUI programs *are* pretty much always focused on the keyboard as input.
<joepie91> that doesn't make them not separate axes.
<joepie91> that just means there's undesirable correlation :)
<__monty__> Correlated axes aren't separate in my book.
<joepie91> and I'm kinda tired of TUIs lifting along on the back of "want better keyboard control" because it invariably leads to people excusing away ridiculously bad limitations of TUIs on the grounds of "but keyboard" and therefore nothing ever gets fixed
<joepie91> you don't actually have to eat the limitations of TUIs to advocate for better keyboard control
<__monty__> It's just tiring to convince every GUI developer of the merits of keyboards though.
<__monty__> People who develop in the terminal have already accepted that keyboards are great.
<joepie91> yet people are apparently perfectly willing to spend that same tiring effort to convince others that they should build TUIs
<joepie91> which is a little odd to say the least
<joepie91> one would almost think that it's more about tribes than about genuine improvement of software :)
<eyJhb> Can I get medals for starting discussions I do not take any part in?
<joepie91> eyJhb: to be fair, that's easy mode with __monty__ and I in one channel
<joepie91> :P
<__monty__> Haven't seen that anywhere. Plenty of people coming up with TUIs but haven't seen the equivalent of RIIR around TUIs.
<joepie91> oh, I have.
<joepie91> there's a reason why there are still new people starting to develop TUIs, and it isn't because TUIs are so obviously great...
<__monty__> Imo TUIs come with plenty of advantages btw. Performance, for some reasons tons of GUIs are far slower than they'd have to be. Remote work, TUI? easy, GUI? Maybe you can do it but you'll most likely have a bad time anyways.
<__monty__> Disclaimer, I use and work on ranger.
<eyJhb> joepie91: hey, don't make it too hard! I just want medals
<joepie91> __monty__: there's no inherent reason why TUIs would be faster, and at least one why they would be slower; remote work can be done just fine for a GUI, etc.
<joepie91> I can't help but feel like you're arguing about applications built as a TUI/GUI that you are familiar with, and not the inherent properties of TUIs/GUIs themselves
<joepie91> and that doesn't really make any sense in the context of "what should you use"
<__monty__> joepie91: Sadly these are all coulds/cans/shoulds/etc. not actually true in practice.
<joepie91> that is true for everything. it's generally accepted in discussions that this should not inhibit discussion of a topic :)
<__monty__> Discussing actual implementations doesn't make sense in a discussion about what you should use?
<joepie91> no, it doesn't, because then you're talking about what other people have made of it, not what you could make of it
<joepie91> existing implementations are a snapshot of the state of things with a lot of fuzzy variables involved
<joepie91> it doesn't tell you anything clear about the technologies/approaches themselves
<joepie91> for that you need methodical analysis, and exactly those "could-be"s
<__monty__> Sadly I do not live in an imaginary world where whatever software I can imagine exists.
<joepie91> that's not an imaginary world, it's called "programming"
<__monty__> Realistically I can't put in all the man-hours necessary to set up my entire environment from scratch.
<__monty__> So I'm stuck with software that exists and is imperfect.
<magnetophon> __monty__:nah, ranger *is* perfect! ;)
<joepie91> __monty__: you are a proponent of capability-based security, yes?
<__monty__> joepie91: Not a strong opinion tbh. But I sure sounds like a great idea.
<magnetophon> Anyone care to help me get the musnix realtime kernel building again? I'm a bit lost in the working of nix kernel building...
<joepie91> __monty__: hm, I had you mentally categorized as an active proponent of it, somehow :p
<joepie91> that does make it more difficult to illustrate my point here, if that is not the case...
<__monty__> joepie91: Maybe because of monte?
<__monty__> magnetophon: 💕
<joepie91> __monty__: I'll try anyway. I'm obviously not expecting you to do all the work to convert the whole of software land to eg. keyboard-controllable GUIs, because that's an obviously unreasonable amount of work. but that doesn't mean that you can't advocate for it, publicly; like you are essentially doing for TUIs now, in this discussion. my point here is that the thing that actually underlies your desired technical properties
<joepie91> is not "TUIs", and so if you are going to advocate for *something*, you're better off advocating for the actual technical properties directly, without involving some other property that's a *downgrade* (in this case, the limited capabilities of TUI)
<joepie91> because that would be a "two steps forward, one step back" scenario
<joepie91> __monty__: might be because of monte, dunno. though I think I'm just confusing you with somebody else in here.
<__monty__> Only reason I'm not a "proponent" of OCAP or capabilities in general is that I'm not knowledgeable enough about to field to have such an opinion btw. Not because I doubt the technology.
<__monty__> joepie91: Only GUI I know that *might* have all the features I want is emacs, even though I don't use emacs. While TUIs fit the bill just fine.
<sphalerite> eyJhb: alt-L in weechat will switch to a mode where the messages are dumped into the terminal directly and URLs are easier for the terminal to get
<sphalerite> joepie91: simpson was the capabilities person
<sphalerite> joepie91: tbf, both simpson and __monty__ are yellow for me :p
<joepie91> ah right, simpson
<__monty__> Yep, one of the monte devs afaik.
<joepie91> unrelated, https://twitter.com/Hack42/status/1156164866404737024 -- 187.500 cyber stickers
<sphalerite> that's some very precise halving.
<__monty__> Halving?
* joepie91 hands sphalerite a comma
<sphalerite> :p
<__monty__> Why could you need 180k stickers that say cyber though?
<sphalerite> need? Probably not at all.
<__monty__> Granted, cybernetics is super interesting and has sadly gotten unpopular but stilly.
<sphalerite> Wanting them doesn't seem that far-fetched though :D
<__monty__> Ah, decimal point, isn't that mostly an american custom?
<joepie91> __monty__: it's a group buy, and also a meme
<__monty__> Cyber's a meme? Sorry, I'm not ITL on memes.
* etu don't know why those CYBER stickers are popular, but I know that they tend to be common at places like CCC
<sphalerite> __monty__: most of the "anglosphere"
<sphalerite> __monty__: I have it from the UK in any case :p
Guanin has joined #nixos-chat
<__monty__> Why is all of that marked [dubious]?
<__monty__> But as you can see, comma's obviously more popular : >
<gchristensen> by square foot :P
<gchristensen> and maybe not even that, since the mercator projection lies to us
<__monty__> I think it lies in favor of . though.
<__monty__> Afrika's much bigger and so is south america I think?
<__monty__> Also, the largest country in the world uses , so that's that : >
<gchristensen> largest?
<gchristensen> india and china use .
<sphalerite> largest by area
<__monty__> Yeah but denmark uses ,.
<gchristensen> lol
<gchristensen> very clever, Denmark, using both
<__monty__> Not according to the map.
<gchristensen> 11:49 <__monty__> Yeah but denmark uses ,.
<sphalerite> I think the . was the full stop terminating the sentence.
<__monty__> Obivously the full stop is just a full stop there.
<gchristensen> =)
<gchristensen> gotta quote it! Yeah but denmark uses ',,.
<__monty__> Shouldn't it be ,,,''.?
<philipp[m]> Yes, but how do you start the next sentence? One or two spaces?
<gchristensen> I have no idea
<gchristensen> just wanted to add to the confusion
<philipp[m]> The right answer is one space, of course.
<__monty__> Please don't bring that nonsense in here, philipp[m]. You know the right answer.
<gchristensen> philipp[m]: of course it is :)
<philipp[m]> Too many reasonable people here -_-
<gchristensen> maybe could starta sentence with <sentence>
<magnetophon> Yeah, and maybe we could end it with <\sentence> or something...
<philipp[m]> - no
<philipp[m]> - sentences should be yaml syntax
<__monty__> That way lies <emphasis>madness</emphasis>, <appelation>gchristensen</appelation>!
<philipp[m]> (I don't think the formatting survived)
<gchristensen> :D
<gchristensen> yaml sentences :'(
<__monty__> http://ix.io/1Q2S
<philipp[m]> Oh gawd. What did I do again?
<gchristensen> oh there we go
<gchristensen> can we get some gerunds in there too?
<__monty__> I'm sure it was barely accurate. Just remembered the NP/VP thing from some distant class on linguistics somewhere.
<qyliss^work> Surely YAML doesn't let you have duplicate keys (verb in sentence -> verb-phrase)
<philipp[m]> So do verbs: [ would, look ]
<__monty__> Sorry, don't know yaml either : )
<gchristensen> oh boy qyliss^work
<gchristensen> qyliss^work: it does
<__monty__> Technically I said it'd look *like* that though, not that it'd *be* exactly that : >
<gchristensen> it is one of the few incompatibilities of yaml -> json
<__monty__> Oh, I was more right than I thought : )
<adisbladis> What is this madness... /o\
<adisbladis> Too much yaml
<qyliss^work> ughhh
<qyliss^work> so what does that parse to?
<__monty__> Want me to translate it into dhall, adisbladis? : >
<gchristensen> qyliss^work: tbh I'm not certain there are compliant parsers for that
<philipp[m]> A few minutes ago, I didn't know about dhall. I was a happier human then.
<__monty__> But it's awesome! : )
<philipp[m]> Might have to use it to appreciate it, but it looks very confusing.
<gchristensen> ohhh I'm sorry qyliss^work I was wrong
<sphalerite> it's JSON that allows duplicate keys isn't it?
<gchristensen> qyliss^work: JSON's RFC4627 requires that mappings keys merely “SHOULD” be unique, while YAML insists they “MUST” be. Technically, YAML therefore complies with the JSON spec, choosing to treat duplicates as an error. In practice, since JSON is silent on the semantics of such duplicates, the only portable JSON files are those with unique keys, which are therefore valid YAML files.
<sphalerite> so JSON isn't really a subset of YAML? Nooooooooo!
<gchristensen> YAML is JSON: The Good Parts (plus a bunch of other yamly stuff)
mgdm has joined #nixos-chat
Jackneilll has joined #nixos-chat
Jackneill has quit [Ping timeout: 272 seconds]
aszlig has joined #nixos-chat
magnetophon has quit [Ping timeout: 245 seconds]
<adisbladis> YAML -> 🗑
arahael1 has quit [Ping timeout: 248 seconds]
arahael1 has joined #nixos-chat
<mgdm> +1
<gchristensen> world collide. when'd you get here, mgdm? :o
<mgdm> about half an hour ago, I think :-)
<gchristensen> yay
<eyJhb> I just had the discussion yesterday in #go-nuts
<eyJhb> Also the different ways Go marshalls/unmarshalls yaml vs. json byte arrays. One base64 encodes it as a string, the other makes a list of decimals
<eyJhb> If anyone is curious - https://play.golang.org/p/8CGI5UR7bxG
<mgdm> lovely
<__monty__> Can anyone recommend good Foss TOTP software? And share their opinion on copying TOTP secrets everywhere vs SMS 2FA?
<qyliss^work> pass-otp
<qyliss^work> Synchronising encrypted TOTP secrets >> SMS, assuming you trust the hardware you're using to access GitHub
<qyliss^work> (which you should be, if you're logging into GitHub on it)
<__monty__> Also, is FIDO U2F restricted to NFC devices or could I turn any old usb stick(s) into yubikeys for the purpose?
<__monty__> Wait, a yubikey is not what I thought it was, is it?
<qyliss^work> There are lots of different Yubikeys
<qyliss^work> U2F is usually done over USB
<qyliss^work> But you need a device capable of speaking the protocol, which a USB block device won't be able to do.
<sphalerite> oh hi mgdm
<__monty__> Ok, then that's out. Looking into pass-otp next.
<gchristensen> sphalerite: oh you two have met, that is right
<sphalerite> :)
<mgdm> hey sphalerite :)
<mgdm> sphalerite: since we last spoke I actually have 2 machines running NixOS full-time
<sphalerite> mgdm: nice!
<sphalerite> congratulations :D
<mgdm> hehe
<samueldr> only two?
<samueldr> :)
waleee-cl has joined #nixos-chat
<Taneb> ...last weekend I paid for a server somewhere and then managed to lock myself out of it
<samueldr> they call that impenetrable security
<Taneb> I call it a waste of £30 ;)
<mgdm> samueldr: if I can convince $work to use it then it'll be more, many more, muahahaha
<sphalerite> mgdm: yessss, more Nix in Scotland! :D
<sphalerite> (I'm not there anymore though :( )
<qyliss^work> wait who's in Scotland
<qyliss^work> I'm in Scotland!
<sphalerite> mgdm, AFAIK :)
<gchristensen> mgdm: dooiittt
<sphalerite> there's also a friend of mine who's studying in Glasgow still
<mgdm> sphalerite: where are you now?
<sphalerite> mgdm: Munich
<mgdm> oh cool
<sphalerite> qyliss^work: oh and mudri is in Glasgow too
<qyliss^work> I've been thinking of trying to start a Nix meetup in Edinburgh.
<qyliss^work> I keep finding more Nix people here.
<mgdm> I have thought about setting up both Rust and Nix things in Glasgow but not had enough round tuits
<eyJhb> Btw. etu it is somewhat confirmed that I will be around Stockholm 1st of august to the 4th of august :D
<eyJhb> And Taneb right?
<Taneb> ??
<Taneb> I'm in Cambridge, as far as I can tell
<qyliss^work> Maybe I'll try to get something going in a month or so once I'm done with my job.
mudri has joined #nixos-chat
<eyJhb> Damn it, sorry. I can't remember who etu made plans for, sorry Taneb
<Taneb> While I would be up for etu making plans for me, I don't think they have
<Taneb> I don't think I'm in a place best suited for them making plans for me, either
umachan has joined #nixos-chat
<eyJhb> Ah, it was talyz :p
<umachan> Hey! Just had sphalerit mention some of you were thinking of organising a meetup in scotland
<eyJhb> Yeah, seems like quite the journey if he had Taneb
<mudri> sphalerite: Oops, I didn't notice I'd unjoined.
<Taneb> Anyway, if anyone's in Cambridge, UK and wants to hang out, do let me know
<umachan> Some friends of mine recently switched to NixOS as well, I think we could help it gain some traction
<mgdm> umachan: whereabout are you based?
<umachan> Glasgow
<gchristensen> :o
<umachan> (and the people are mentioned are from Glasgow as well, all glasgow uni students)
<mgdm> ah cool, that's where I am
<umachan> :)
<umachan> Do you know about scotlug? Doing it with them might be an option
<umachan> They meet at the CCA, which is quite nice
<mgdm> Yeah, the scotlug organiser is about 2 desks away from me
<mgdm> and I did talk to him about doing a talk about Nix one evening :)
<mgdm> but there might be someone better qualified than me around...
<umachan> Don't look at me :p
<qyliss^work> Is that the same person who organises the one in Edinburgh?
<mgdm> No
<umachan> mgdm: do you happen to be on twitter? just so i hear about it if it ever happens
<qyliss^work> I promised the Edinburgh one a talk ages ago, but then I never replied to his email >.<
<qyliss^work> I should do that.
<mgdm> umachan: yep, I'm also mgdm on that
<qyliss^work> I wouldn't mind repeating in Glasgow either if there'd be an audience.
<qyliss^work> Which it sounds like there could be.
<umachan> mgdm: cool!
<qyliss^work> But if somebody more local wanted to do it instead they should, of course.
<mgdm> qyliss^work: well I thought about doing that but I'm a bit of a newbie so if you were up for it that would be cool
<qyliss^work> Well, in a few weeks I should be less busy, and can send out the relevant emails and set wheels in motion.
<mgdm> Mine is half-written fwiw
<qyliss^work> Oh
<qyliss^work> Then go ahead!
<adisbladis> eyJhb: Damn it! I'll be there the weekend 9-11 aug
<eyJhb> I knooow, sorry adisbladis :( It would end up beeing to close to meetings and stuff :(
<eyJhb> Where are you staying?
<adisbladis> eyJhb: You mean when I'm in Stockholm?
<eyJhb> Yeah
<adisbladis> At my parents place in Hornstull
<eyJhb> Ah, that makes it easier :D
<eyJhb> Found a hotel on AirBnb a little outside Stockholm, it looks fancy while still being reasonable (and with kitchen)
<adisbladis> eyJhb: Whereabouts?
<eyJhb> adisbladis: Viksjö if you mean where :p
<eyJhb> I have my car, so should be easy enough
<adisbladis> eyJhb: Not that far away from where I grew up
Guanin has quit [Ping timeout: 252 seconds]
Drakonis has joined #nixos-chat
<eyJhb> adisbladis: PM'ed you link to the "apartment" :) I have never ever been to Sweden. So my plan is to take to Goteborg, have some stop in-between Goteborg and Stockholm, and then see a little Stockholm and maybe drive around and find some nice spots
<eyJhb> And basically just relax
endformationage has joined #nixos-chat
jtojnar has joined #nixos-chat
ctp has quit [Ping timeout: 264 seconds]
ctp has joined #nixos-chat
Drakonis has quit [Quit: WeeChat 2.4]
<talyz> eyJhb: Cool! We'll have to plan something, then :)
__monty__ has quit [Ping timeout: 258 seconds]
<etu> eyJhb: woo!
<etu> eyJhb: pm me where you are staying as well
<etu> eyJhb: I'm working this week, but we can probably find something to do
<etu> eyJhb: It's 11km from my home to viksjö, it takes about 17minutes to drive there :)
__monty__ has joined #nixos-chat
Guanin has joined #nixos-chat
webster23_ has joined #nixos-chat
<eyJhb> Just like a fyi, if I do not answer for 24 hours, then look at talyz and etu place! - Yeah should be doable :D
<eyJhb> I also have my trusty car, but.. I would guess yours is a lot nicer etu ;)
<adisbladis> Hey #nixos-chat. What kind of music are all you people into?
<adisbladis> Or, what are you listening to right now?
<gchristensen> I like ... most ... music. on a given day, though, I'd choose to listen to Metric, The Flaming Lips, Sleigh Bells
<gchristensen> but will often diverge off in to jazz and orchestral or barbershop, or rap and pop
<adisbladis> gchristensen: Hmm, barbershop is a genre I haven't ventured into before :) Any good tips?
<gchristensen> oh man
<adisbladis> ^_^
<gchristensen> so a bunch of my music is from CDs I have here ... let me find you some good stuff
<__monty__> CDs, what is this the 90s? ; )
* adisbladis queues up after current song :)
<ashkitten> systemd v243 milestone hit 98% complete, rc1 is tagged now >,,>
<gchristensen> woo
<ashkitten> once v243 is released and reaches nixpkgs i can merge it into my nixpkgs and use that
Drakonis has joined #nixos-chat
<samueldr> I started setting my iPod on shuffle limited to year of (original) release of albums, even different genre seem more cohesive that way
<gchristensen> man, it took piping this to `xxd` to figure out the diff: - string h2 = string(hashString(htSHA256, "rewrite:" + drvPath + ":" + path).to_string(Base32, false), 0, 32);
<gchristensen> + string h2 = string(hashString(htSHA256, "rewrite:" + drvPath + " " + path).to_string(Base32, false), 0, 32);
<ashkitten> this is why i maintain my own version of nixpkgs, so i don't have to translate things into overlays
<eyJhb> ashkitten: Blender released v2.80-rc3, but forgot to tag the release for 3 days I think
<Drakonis> they released 2.80 just now
<ashkitten> oh heck it's out??
<Drakonis> YAS BOI
<samueldr> so, adisbladis, right now it turns out it's some Project Pitchfork :)
* ashkitten fangirl scream
<eyJhb> Ah, might be why they added v2.80-rc3 then
<Drakonis> well, 2.80 final has released
<Drakonis> the FOSS stack is real
<ashkitten> 2.80 is very exciting
<ashkitten> adds a lot more intuitive controls
<Drakonis> its extremely exciting
<ashkitten> don't need to know all the keyboard shortcuts, etc
<ashkitten> and the default theme looks great
<Drakonis> now gimp needs to that next
<adisbladis> samueldr: Nice, didn't listen to any EBM for a long time
<ashkitten> gimp needs to die so we can replace it
<samueldr> I only started to listen to EBM "recently"
<samueldr> (it feels recent, even though it's been a couple years already :/)
<Drakonis> gimp 3.0 will be out, some day.
<Drakonis> really though, krita is real good
<Drakonis> gimp doesnt need to die to be replaced.
<ashkitten> krita is awesome but i'm not an artist, i just do image manipulation
<eyJhb> I like gimp :(
<eyJhb> Even though I cannot use it properly
<adisbladis> I recently rediscovered my love for chinese new age music, been listening to it all day
<Drakonis> to replace something, you need better software and market it better
<infinisil> adisbladis: Example?
<Drakonis> this is pretty much what linux did to every other unix
<Drakonis> not that it was better at the time
<ashkitten> gimp needs a new name, which is an issue that comes up every so often in the issue tracker and is always met with severe backlash from people who think it's perfectly acceptable
<Drakonis> it was vastly better marketed and offered a better proposal
<gchristensen> marketing is way important
<Drakonis> krita could grow a image manip toolset though
<eyJhb> ashkitten: you don't think Gimp is a okay name?
<gchristensen> it doesn't even really need to be better
<adisbladis> infinisil: https://open.spotify.com/track/4A5twKwx7P9rRXamqJiQCW is a really good one
<Drakonis> the value proposition is important
<Drakonis> marketing AND value proposition
<ashkitten> eyJhb: "gimp" is a derogatory term for disabled people
<Drakonis> gimp hasnt been used that way in a while now
<adisbladis> gchristensen: Ohh I like this
<eyJhb> ashkitten: I know, but that isn't the first thing I think of, at all
<Drakonis> i haven't encountered the term being used like this in a very long while
<eyJhb> Same reasoning why some want to go away from master/slave to primary/secoundary
<samueldr> I thought about the BDSM thing first
<ashkitten> people have pointed out that they can't use GIMP in their organization because of the name
<gchristensen> adisbladis: =)
<Drakonis> there's new derogatory terms
<eyJhb> ashkitten: that just seems like a new low...
<adisbladis> Bring out the gimp!
<infinisil> adisbladis: Cool, I don't have spotify, but I'm checking out the artist on youtube
<Drakonis> i'd honestly take krita with image manip tools these days
<ashkitten> if people actively can't use the program because of its name, there's obviously still a problem that you can't write off
<Drakonis> its so spectacularly good
<eyJhb> Holy hell the Blender mirror is SLOW
<eyJhb> IF people actively can't use a program because of its name, then I think those people have a problem
<Drakonis> corporate is weird
<eyJhb> It is not like it is a long name, that is designed to hurt and offend people
<ashkitten> i'm disabled and i'm TELLING you *i* have a problem with it too
<Drakonis> oh, well.
<ashkitten> so knock it off and listen to the people affected
<Drakonis> aight
<gchristensen> adisbladis: I was introduced to barbershop at a young age: my dad sings barbershop.
<ashkitten> and maybe if people weren't so damn stubborn about changing the name, they could actually gather some decent brand recognition with the people who want to be able to use it at work but can't
<__monty__> ashkitten: Does the fact it's a fairly straightforward acronym not help?
<ashkitten> __monty__: no
<gchristensen> ashkitten has already said no?
<ashkitten> i don't know why this is such a big deal anyway. if people are telling you something is a problem and there's not a good reason not to change it, you change it
<Drakonis> its the human psyche
<ashkitten> it's stubbornness
<Drakonis> attachment and such
<etu> eyJhb: Haha, my car was cheap:)
<ashkitten> resistance to change
<__monty__> ashkitten: How about rebranding it just in a nixpkg? Like was done for thunderbird/earlybird some time ago.
<ashkitten> that doesn't chance anything
<Drakonis> earlybird is actually by mozilla
<ashkitten> change anything*
<Drakonis> its the name for the daily thunderbird builds
jtojnar has quit [Ping timeout: 268 seconds]
<Drakonis> firefox has nightly for their own nightly builds
<__monty__> Drakonis: It's the name for any and all thunderbird builds that haven't been sanctioned by mozilla.
<Drakonis> redundant.
<ldlework> are the people who can't use gimp because of the name a statistically significant number that the brand name recognition would have any percievable effect on the project?
<ashkitten> ldlework: yes
<Drakonis> ldlework, you'd be surprised at corporate
<ldlework> how do you know
<Drakonis> let me pull out a pretty good example
<ashkitten> ldlework: if you read the latest issue thread about the name on the bug tracker, you'll see a number of people talking about how they can't use it for various reasons
<Drakonis> see freebsd's mascot
<ldlework> that's not what i asked though
<Drakonis> it has caused issues with both corporate and religious foths
<Drakonis> folks
<Drakonis> because it has negative connotations
<__monty__> ashkitten: I think the backlash is actually because people don't perceive anything wrong with something and you're telling them they're awful for thinking that. So if they admit "The GiMP" is not ok they simultaneously have to admit they're bad people.
jtojnar has joined #nixos-chat
<Drakonis> see also RMS being a bad bad boye
<ashkitten> __monty__: that's not what i said
<ashkitten> i never said anything is badly-intentioned, nor did i imply it
<__monty__> ashkitten: No but it's what it comes across as.
<ashkitten> __monty__: sounds like a personal problem to me
<ashkitten> it's not my job to make people feel okay about ableism
<ldlework> gimp's name is everyone's problem though?
<__monty__> ashkitten: So you turn to an argument you don't accept yourself?
<gchristensen> __monty__: stop
<ldlework> stop what?
<__monty__> gchristensen: I'm not defending "The GiMP," I only just now was made aware that apparently some people take offense at the name. I was only trying to find out more and giving my take on why people don't like it when someone says "you shouldn't use that name."
<ashkitten> yall seem to think it's my job to give increasingly more evidence as to why the name must be changed, when it's really the dev team's job to give evidence as to why it shouldn't. people have repeatedly presented a valid issue to them, which they have put down time and time again without sufficient reasot
<adisbladis> gchristensen: I've only encountered barbershop in american movies before
<tilpner> gchristensen: Are you a fan of nested-use-as-much-as-possible in Rust, or will you glare at me for that?
<ldlework> ashkitten: do you think that reasoning would work on anyone who doesn't agree though?
<ldlework> ashkitten: perhaps it's useful for emboldening those that already agree, but do you think it is effective reasoning that would sway someone who definitely doesn't?
<ashkitten> i think if a bunch of disabled people are telling you the project name affects them, you should maybe rethink your stance
<ldlework> that's not the same thing you just said though
<ldlework> you said they should not only rethink, but definitely end up agreeing with you
<ashkitten> whatever, you're mangling my words now and i'm sick of this anyways
<ashkitten> go fight over this in the issue tracker if you want, not with me
Jackneilll has quit [Remote host closed the connection]
<ldlework> asking you simple questions about something you brought up seems like a legtimate thing to do but ok
<__monty__> gchristensen: Where can I find the document you wrote on 2FA?
<gchristensen> in progress
<ashkitten> ldlework: you're asking if you think i'd be able to convince someone who is already predisposed. no, i wouldn't be able to, but that doesn't make them right or not an asshole
<ashkitten> and yes, i think that people who continue to support the use of ableist slurs despite repeated requests to stop from disabled people are assholes
<ashkitten> that's the last thing i'll say about it
<ldlework> hell, that's all you needed to say about it. i'm sure anyone who disagreed is now wallowing in their embarassment and shame and is actively rectifying their belief systems to compensate.
<ashkitten> ldlework: that comment was uncalled for
<ldlework> in what sense? that it was sarcastic?
<ashkitten> yes
<ashkitten> why are you trying to upset me?
<ldlework> why are you not a valid target for sarcasm?
<tilpner> gchristensen: Are you a fan of nested-use-as-much-as-possible in Rust, or will you glare at me for that?
<ashkitten> because i'm being serious and you're making fun of me
<ldlework> i am trying to remark on something in the channel
<ashkitten> whatever
<ldlework> how it makes you feel is completely out of my control of course
<gchristensen> tilpner: what do you mean?
<ldlework> but it seems a little disingenuous to call people who don't agree with you, assholes, then decry a little sarcasm
<tilpner> gchristensen: And what specifically do you want me to do with r13y?
<gchristensen> let's talk in like 10min? :)
<tilpner> Sure
<ashkitten> i said i'm done, i'm done.
<ldlework> i'm not pinging you
<adisbladis> </discussion>
<Drakonis> https://github.com/google/nixery ohhhhhhhhhhh
<gchristensen> Drakonis++
<{^_^}> Drakonis's karma got increased to 1
<Drakonis> karma is case sensitive isnt it?
<ldlework> *changes names to Blimp, upsets different demographic*
NinjaTrappeur has quit [Quit: WeeChat 2.5]
Drakonis is now known as drakonis
drakonis is now known as Drakonis
<Drakonis> drakonis++
<{^_^}> drakonis's karma got increased to 2
<Drakonis> woah???
Drakonis is now known as drakonis
<drakonis> Drakonis++
<gchristensen> :o infinisil
<{^_^}> Drakonis's karma got increased to 2
<drakonis> i can cheat it................
NinjaTrappeur has joined #nixos-chat
<infinisil> Yeah everybody can cheat it by just changing their nick :)
<lassulus> .karma
<samueldr> infinisil: I think the thing to notice is how it (does not) handle case
<infinisil> Oh yeah
<adisbladis> drakonis: Karma wanking
<drakonis> agreed
<samueldr> nothing good can come from this :)
<drakonis> it is nothing but a distraction!
<adisbladis> I wonder what happens
<adisbladis> =(
<drakonis> it doesnt work because its a link
<adisbladis> urls are ppl too
<drakonis> praise urls
<infinisil> drakonis: samueldr: Ohh lol, this was just a coincidence btw, karma *is* case sensitive
<infinisil> You just happen to have the same karma on both users
<samueldr> infinisil: shouldn't it be insensitive?
<drakonis> https://github.com/ryantm/nixpkgs-update experimental builds when
<infinisil> Oh wait that's what the experiment showed already
<samueldr> yes, in those coincidental amounts of 1, 2 and 2 :)
<drakonis> i'm on a cataclysm kick and the experimental builds come out on a daily basis
<samueldr> and it's not only because it's a link++
<infinisil> Ah man, I messed up yeah
<samueldr> there are some complex rules to prevent dumb++ things
<drakonis> yes like a sql query
<samueldr> (okay... maybe not complex, but more complex than none)
<drakonis> little bobby tables
<infinisil> I've been meaning to use a database for storing nixbot's data
<infinisil> Currently it's just a bunch of files in json because I didn't know better at the time..
<drakonis> so, its basically a poor man's nosql :V?
<drakonis> mongodb even
<infinisil> Yeah lol
<__monty__> qyliss^work: In using pass-otp how do you come up with the otpauth uri?
<ashkitten> __monty__: it's what qr codes embed
<ashkitten> er, encode
<ashkitten> if you scan the qr code for an otp thing it'll give you an otpauth uri
waleee-cl has quit [Quit: Connection closed for inactivity]
<__monty__> ashkitten: Don't have a smartphone so QR codes are highly inconvenient. Gonna try zbar but I'd prefer being able to come up with the urls manually.
<ashkitten> uh
<ashkitten> otpauth://totp/[name]?secret=<alt secret>[&issuer=<service name>]
<talyz> eyJhb: Good, so if I don't hear from you in 24 hours, I know where to look :p
<ashkitten> most things give you an "alternative" that's just text
<eyJhb> talyz: Hoping it won't come to that! But I hear it is pride week from etu. Can't figure out if that is good or bad
<eyJhb> Like not the pride week, but visiting while it is :p
<__monty__> ashkitten: Yeah but github only gives the secret. How do I find out the correct name and issuer?
<ashkitten> __monty__: pretty sure those are optional
<ashkitten> i just gave the longform in case you wanted it
<ashkitten> so otpauth://totp?secret=<secret> i think should work?
<ashkitten> er
<ashkitten> nope
<ashkitten> you need the accountname
<__monty__> ashkitten: Do I have to get it exact as to the QR code?
<ashkitten> idk
<ashkitten> im testing a bit rn
<__monty__> That's a lot of guessing if I need the issuer prefix or not and the issuer parameter or not and the various other parameters.
<__monty__> Currently blocked by this in installing zbar : s http://ix.io/1Q5e
<ashkitten> __monty__: pass-otp requires an issuer prefix but it seems like it's not used to generate otps
<ashkitten> it's used normally to disambiguate different accounts
<__monty__> It requires a prefix? The examples don't use one.
<ashkitten> __monty__: so like, otpauth://totp/<name>?secret=<secret>
<ashkitten> i tried to build blender from https://github.com/NixOS/nixpkgs/pull/65606 and got this.... https://i.imgur.com/Fz6tJnK.png
<{^_^}> #65606 (by eadwu, 1 hour ago, open): blender: 2.97b -> 2.80
<ashkitten> pfff
das_j has quit [Remote host closed the connection]
psyanticy has quit [Quit: Connection closed for inactivity]
das_j has joined #nixos-chat
<__monty__> Ah, but the label only optionally includes a prefix.
<ashkitten> __monty__: you can make the label anything you want
<ashkitten> it doesn't matter
<ashkitten> just has to be there
<__monty__> Ah, ok, thanks. So only the secret really matters?
<ashkitten> correct
<ashkitten> the label and issuer is only to disambiguate when scanning a new code into a "traditional" totp client
<ashkitten> you don't need to disambiguate, because you already know what it is
<ashkitten> and it goes with your existing password
<drakonis> pfff its broken
<talyz> eyJhb: Yeah, I guess it's good if you want to see or take part in it, but for traffic reasons it might be an issue. However, in Stockholm you normally want to avoid driving in the city centre anyway...
<eyJhb> talyz: not really the seeing taking part kinda guy, if anything, it would be seeing. Yeah, but was more thinking how much of the city it will obscure
<adisbladis> eyJhb: Stockholm pride is awesome no matter the level of your involvement :)
<adisbladis> I believe it's the biggest one in europe?
<gchristensen> oh wow cool
<eyJhb> `Stockholm Pride - Nordens största pridefestival 29/7-3/8 2019`
<eyJhb> Hmm, never been to one. But I just got ripped off regarding the ferry, thought it would be 390 for a normal departure time
<eyJhb> 720 to go at 5.30 am...
<ashkitten> how do yall trigger different configurations on different devices?
jtojnar has quit [Ping timeout: 246 seconds]
<gchristensen> $ echo $NIX_PATH
<gchristensen> /home/grahamc/.nix-defexpr/channels:nixpkgs=/nix/var/nix/profiles/per-user/root/channels/nixos:nixos-config=/home/grahamc/projects/grahamc/nixos-config/devices/petunia/configuration.nix
<ashkitten> hmm
<ashkitten> so what exactly do you do to have that?
<gchristensen> I run `nixos-rebuild switch`
jtojnar has joined #nixos-chat
<ashkitten> sure but how does it propagate the NIX_PATH
<talyz> eyJhb: I don't think you need to worry about that - if anything it probably means there's more to see and do :)
<infinisil> ashkitten: You could use `builtins.getEnv "HOST"` to change behavior depending on the host
<averell> is your host naming scheme flowers?
<ashkitten> gchristensen: ah
<gchristensen> averell: characters in Futurama
<averell> okay, probably more fun :) i hope there is a clamps somewhere
<ashkitten> so you first-time bootstrap it by specifying the nixos-config, and from then on it has it baked in?
<gchristensen> ashkitten: yep
<ashkitten> cool
<gchristensen> right now I have a bender, flexo, boxy, lord-nibbler, ogden, morbo, petunia, and elzar. no clamps right now :P
* mgdm tries to remember who petunia is in futurama
<mgdm> Ah :)
<averell> haha
<aleph-> Yo yo yo
<averell> i had to google too :) the only remaining question is....why not zoidberg?
<gchristensen> I sort of consider zoidberg, fry, and leela to be "above" having a machine named after them.
<mgdm> averell: *polite applause*
<gchristensen> oh I get it :D
<mgdm> My MBA is called morbo, and I have had a zoidberg in the past
<mgdm> but for some reason I now go for moons
aleph- is now known as scruffy
<talyz> ashkitten: I just symlink the one I want to /etc/nixos/configuration.nix; gchristensen's solution sounds more interesting, though..
* scruffy is gonna die how he lived
* scruffy licks his finger and flips a page
<ashkitten> pff
<gchristensen> hah
<gchristensen> I knew I liked y'all.
<scruffy> heheh
scruffy is now known as Gilfoyle-
<adisbladis> Oh, you're the scruffy hacker I heard so much about
<Gilfoyle-> ha
* __monty__ wipes his brow
<__monty__> Finally a member of the org, gchristensen.
<ashkitten> i think a skunk pooted outside
<gchristensen> __monty__: alright!
<Gilfoyle-> My god, there's actually a nightcore girl from ipanema
<Gilfoyle-> What fresh heck is this...
<ashkitten> gchristensen: i think i'll store my nixos config on github and use "nixos-config=${<nixos-config>}/devices/${config.networking.hostName}"
<ashkitten> and have nixos-config as a channel
<gchristensen> oh cute
<ashkitten> :)
<__monty__> mgdm: Talking to you from titan, o/
<gchristensen> and we're all on /nix/ of course
<Gilfoyle-> Hmm that's a good idea.
<Gilfoyle-> Cutsom nix channel
<mgdm> __monty__: this is io, receiving you loud and clear
<adisbladis> Is it really though? More seriously..
<adisbladis> I always disliked channels
<Gilfoyle-> Alright, back to futzing with apt
<Gilfoyle-> Blegh
<ashkitten> adisbladis: they're good ways to use repositories from the internets in your config!
<ashkitten> hmm
<gchristensen> to me, that looks like too much work to actuallycause a change
<gchristensen> I really hate anything between me and making a little tweak to the config
<ashkitten> well that's fair enough
<adisbladis> ashkitten: So the problem is that you have a few different hosts and you want to use different configs depending on the machine but use a monorepo
<adisbladis> ?
<ashkitten> i have always had issues syncing changes between computers
<ashkitten> adisbladis: yeah
<gchristensen> me too
<gchristensen> I can't do it
<adisbladis> My solution is to have a `hosts` directory with a configuration.nix per host
<adisbladis> And then the correct one is symlinked in /etc/nixos/configuration.nix
<averell> i guess branches just get a huge mess?
<ashkitten> a lot of my configuration is shared between machines
<adisbladis> ashkitten: Yeah, the shared bits are handled via imports
<ashkitten> well i'm gonna try this out
* Gilfoyle- is cleaning up his config since he's rebuilding on his laptop
<ashkitten> shouldn't be hard to switch from using it as a channel to using it directly, anyway
<gchristensen> I can't manage to actually work on 2 computers
<adisbladis> gchristensen: I managed to do it after using home-manager
<adisbladis> ashkitten: https://github.com/adisbladis/nixconfig if you're interested
Jackneill has joined #nixos-chat
<talyz> ashkitten: I create modules for shared configuration that I can turn on or off per host, which might be overkill, but pretty neat too :)
<ashkitten> nice!
<infinisil> Yeah same, I use my own .enable options to turn them off/on
<infinisil> And I'm trying to write modules in a way that other people could use them too
<ajs124> I thought that's how everyone does that. Just implement normal modules. That way, the workflow stays the same as with upstream modules.
<infinisil> I'm pretty sure most people just have a single configuration.nix file with a pretty standard config
<infinisil> Probably not the norm for the active people in this chat though
<ajs124> You mean most people's config repo doesn't include >300 files with >20k LOC? :O
Guanin has quit [Remote host closed the connection]
drakonis has quit [Quit: Leaving]
<Gilfoyle-> Oh that's neat
<philipp[m]> `zfs load-key` is interactive? So I could do `pass zfskey | ssh bootinghost` like I do with dmcrypt now?
<__monty__> Modules would prevent non-nixos/nix-darwin users from benefiting though?
<__monty__> *benefitting
<__monty__> gchristensen: So, now I just wait until someone touches the ranger package? And is the team message board intended to be used for anything or just there because it can't/doesn't have to be turned off?
<gchristensen> __monty__: maybe could be used in the future, but right now you're the only member, so you wouldn't get much out of posting there
* __monty__ perches on the windowsill with a fly swatter
<adisbladis> Cross-posting from #nixos:
<adisbladis> Any Emacs users around who wants to help out testing a PR? https://github.com/NixOS/nixpkgs/pull/59189
<{^_^}> #59189 (by bendlas, 16 weeks ago, open): emacs-modes: replace melpa-generated with json format + updater in emacs lisp
<__monty__> gchristensen: : o, you offend me, sir! Talking to myself is highly pleasureable. Also, afaict you're a member too. Twinsies!
<ldlework> you can use modules with home-manager
<ashkitten> i can clone the repository locally and run `sudo nixos-rebuild switch -I $(pwd)/devices/$(hostname)` to test changes before pushing
<gchristensen> cool
<gchristensen> maybe write that down in a readme :)
<ashkitten> and then once i push i can run `sudo nixos-rebuild switch --upgrade` to update channels and rebuild
<ashkitten> gchristensen: idk, the builder for the rust program in my initrd fails to resolve github.com when i have sandbox on
<ashkitten> afaik it's a known very old issue
<ashkitten> but i haven't looked into it recently
<__monty__> Don't sandboxes prevent all network traffic?
<gchristensen> yes
<ashkitten> that'd be it then
<ashkitten> :p
<ashkitten> how do i get it to build with sandbox?
<gchristensen> don't fetch anything in your build, do it in nix
<ashkitten> i'm guessing the answer is "don't use buildRustPackage"
<ashkitten> yeah
<gchristensen> buildRustPackage works for me..?
<Gilfoyle-> Hmm do cargo registries finally allow non GitHub repos...
<ashkitten> gchristensen: buildRustPackage requires a cargoSha256 attribute which is computed over all crate sources of this package. Currently it is obtained by inserting a fake checksum into the expression and building the package once. The correct checksum can be then take from the failed build.
<gchristensen> right
<gchristensen> ye olde tofu
<ashkitten> that's why it wasn't working, because i set that to null
<ashkitten> so it was trying to fetch
<gchristensen> you set it to null and it was still allowed to build?
<ashkitten> uh
<ashkitten> tried to, yes
<gchristensen> setting it to null should fail at the evaluation phase
<ashkitten> shrug?
<gchristensen> what version of nix?
<ashkitten> nixos-unstable
<gchristensen> can you open an issue on nix
<ashkitten> also, setting it to "unset" fails at the evaluation phase. setting it to null just makes it try to refetch
<ashkitten> tbh i'm not clear enough on what's wrong to open an issue
<ashkitten> also tired
<gchristensen> also, please provide `nix --version`'s output
<gchristensen> setting the hash to `null` should not be buildable
<ashkitten> gchristensen: nix (Nix) 2.2.2
<ashkitten> gchristensen: i'm not gonna make an issue rn
<ashkitten> if you want to, go ahead
<gchristensen> okay
webster23_ has quit [Ping timeout: 264 seconds]
Jackneill has quit [Remote host closed the connection]
Jackneill has joined #nixos-chat
spacekookie has quit [Quit: **agressive swooshing**]
spacekookie has joined #nixos-chat
Jackneill has quit [Remote host closed the connection]
<__monty__> Someone just pointed out there's a pretty good CKII deal going on over at humble bundle. Figured some here might be interested (remember someone going on about it): https://www.reddit.com/r/humblebundles/comments/cjvhzw/humble_crusader_kings_ii_bundle/
__monty__ has quit [Quit: leaving]