gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
<aleph-> drakonis_: Flakes?
<aleph-> Oh neat
<jasongrossman> samueldr: That often happens to me too. There should be a word for it.
<gchristensen> https://i.imgur.com/jYvBO2E.png AAAAAAA
cjpbirkbeck has joined #nixos-chat
<samueldr> jasongrossman: from your own website?
<samueldr> is this bad, gchristensen?
<gchristensen> samueldr: it is cool :)
<samueldr> the sound "a" has so many meanings :)
<gchristensen> :P
<jasongrossman> samueldr: Yes.
<samueldr> I think what's nagging me is how it's on my domain, but not my stuff :)
<jasongrossman> samueldr: We need two words then!
<jasongrossman> gchristensen: Impressive.
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.2)]
drakonis has joined #nixos-chat
jasongrossman has joined #nixos-chat
cjpbirkbeck has quit [Quit: Leaving]
cjpbirkbeck has joined #nixos-chat
cjpbirkbeck has quit [Quit: Leaving]
cjpbirkbeck has joined #nixos-chat
cjpbirkbeck has quit [Quit: Leaving]
cjpbirkbeck has joined #nixos-chat
jasongrossman has quit [Ping timeout: 246 seconds]
cjpbirkbeck has quit [Quit: Leaving]
drakonis has quit [Read error: Connection reset by peer]
<drakonis_> aleph-: looks like it is ready for testing
<aleph-> Brenda Eich of Brave?
* aleph- grumbles at the shyster if so
<drakonis_> will be nice
<aleph-> Brendan*
<drakonis_> i'm waiting for nixpkgs to gain a flake.
<drakonis_> should be soon
cjpbirkbeck has joined #nixos-chat
jasongrossman has joined #nixos-chat
cjpbirkbeck has quit [Quit: Leaving]
cjpbirkbeck has joined #nixos-chat
cjpbirkbeck has quit [Quit: Leaving]
endformationage has quit [Ping timeout: 248 seconds]
<colemickens> So waddaya do when you connect to a wifi spot in Linux and it never prompts for login and you can't seem to manually trigger it no matter what
<etu> colemickens: I usually try to think of a website that doesn't have https and visit that
<etu> Otherwise Firefox have started prompting about wifi login pages recently
<colemickens> Yeah, that's my usual goto but it's not working either. It feels like DNS isn't even working enough to get that trigger to work. Even though it is coming from DHCP and it works in windows with the same AP, etc.
<colemickens> I hit this once every couple years and am always stumped.
<colemickens> Gnome is usually good about it, for example, and it can't do it. Firefox isn't showing the bar, etc. It's like the router sniffed that I'm on Linux and is just categorically denying me?
<etu> Sometimes I take the IP I got and replace the last number with a 1 and try it in the browser :p
<etu> May work sometimes
<jasongrossman> colemickens: If you use nmcli then you can enter the password manually.
<colemickens> Wat? It's not a pasword protected ssid. It's a portal style hotel WiFi
<jasongrossman> colemickens: Ah, damn.
<colemickens> Drat, it's not broken ipv6 either.
<etu> Damn, when I was at the hotel in brussels I remember that it was *something* we had enabled by default that broke my wifi on that hotel
<etu> But I don't remember what it was, it wasn't obvious
<etu> It was something that was appended to my resolv.conf that broke dns or something like that
<colemickens> In this case, dig @1.1.1.1 google.com fails, etc.
<Shados> TIL: @-patterns do not capture formal argument default values
jasongrossman has quit [Ping timeout: 272 seconds]
pie__ has quit [Ping timeout: 250 seconds]
jasongrossman has joined #nixos-chat
<sphalerite> drakonis_: I'm not, but I'm excited about it :)
veske has joined #nixos-chat
<manveru> drakonis_: there's edolstra/nixpkgs already :)
<manveru> played with the new nixFlakes yesterday, pretty awesome how well it works already
Synthetica has joined #nixos-chat
<joepie91[m]> colemickens: you've probably hit a broken Icomera box
<joepie91[m]> I've seen this failure mode before
<joepie91[m]> colemickens: oh wait, it works on Windows?
<joepie91[m]> in that case, it's probably the same issue I have with the Dutch train operator's wifi APs
<joepie91[m]> it's a NixOS-specific DNS issue, I work around it by sshuttle'ing to my home PC via a direct IP
<joepie91[m]> something with nscd that's broken or something, I've never quite been able to pinpoint the exact issue
<joepie91[m]> cc etu
<etu> huh?
<etu> oh
<etu> Maybe?
<joepie91[m]> colemickens: etu: oh, it's worth noting that `host` will still work to resolve IPs, just absolutely nothing else will... so I have a little bash script that uses `host` to resolve the portal IP, then curls to it to accept the terms, and *after that* starts sshuttle
<joepie91[m]> it works well :)
<joepie91[m]> but ideally we shouldn't be having this issue at all
<sphalerite> etu: colemickens: re something that doesn't use HTTPS — neverssl.com :)
<etu> sphalerite: oooh, great site
<joepie91[m]> unfortunately, if it's the failure mode I think it is, that won't work either :D
<sphalerite> if it's nscd-related, stopping nscd should help?
<etu> For me I just had to remove one line that was put in /etc/resolv.conf, but I can't remember which
<joepie91[m]> tried that, that just broke everything entirely
<joepie91[m]> don't recall how exactly
<joepie91[m]> I've allocated quite a few 30-minute train rides to trying to debug this issue :)
__monty__ has joined #nixos-chat
pie__ has joined #nixos-chat
veske has quit [Ping timeout: 245 seconds]
Jackneill has quit [Ping timeout: 258 seconds]
Jackneill has joined #nixos-chat
drakonis has joined #nixos-chat
drakonis_ has quit [Ping timeout: 258 seconds]
<eyJhb> srhb how much of the workplace have you gotten to use NixOS?
<srhb> eyJhb: Current one, none unfortunately.
<eyJhb> So you are the sole user of NixOS currently? :(
<srhb> Afraid so!
<eyJhb> Have you tried selling them on it?
<srhb> Not yet. But I will. Again. :-P
<eyJhb> Call for a meeting, and then like. Casually spend 30 minutes or so, telling them how great this is! :p
Jackneill has quit [Ping timeout: 245 seconds]
Jackneill has joined #nixos-chat
<pie__> maybe a demo would be slightly more effective
<eyJhb> pie__ but you need to lure them in first
<srhb> eyJhb: I've (succesfully) converted other places before. The potential resistance is a bit higher here, so I'm biding my time a bit, trying to find a good opportunity -- for the demo as well.
<srhb> eyJhb: (Of course I want to :-P)
<eyJhb> srhb: Haha, finding a good time to strike seems like the best tactic! I am struggling to get my peers to just use Linux at all.. Still need to convert 2 guys out of 12!
<eyJhb> As long as there are no one below the age of 18, it is allowed to lure with candy, just saying
<srhb> This is a good point!
<srhb> I'm sure I could improve my social engineering skills.
<eyJhb> Well, this is your time! To be the SE master :D - Can I ask which previous workplaces you used to convert people at? ;) :p
<etu> Hmm, my work will pay to send me to a course in rhetoric and presentation technique with the goal of holding presentations about NixOS for people at work.
<etu> And it's a big organization, hope I get some people from other companies there as well
<etu> To spread it better
<eyJhb> etu your workplace was loose about when to meet in and go home too, right?
<srhb> eyJhb: DBC (dansk bibliotekscenter) -- the ones that develop eg. bibliotek.dk and a lot of other library infrastructure stuff. Their new production platform is based on NixOS. My old team hangs around #nixos too :)
<etu> eyJhb: Yeah
<pie__> joepie91, i found the person to find us librarians :P ^
<srhb> pie__: What do you need? :)
<eyJhb> srhb: ohh sweet! I love the move from Aarhus kommune about using Linux for the public computers!
<eyJhb> etu: Thinking more and more about moving to sweden and join your company! What do you do! ;)
<eyJhb> do?*
<etu> eyJhb: Please join me in this empty chair on my right side and maintain php with me :p
<srhb> eyJhb: I had not heard about that, that's great :)
<etu> eyJhb: There used to be a guy sitting there, he's not anymore because he moved on to Ruby development
<eyJhb> etu ohh god. PHP DEVELOPMENT?! Well.. Fine.. I actually do have a soft spot for PHP... :(
<eyJhb> srhb: it is quite awesome! Based on Ubuntu, but better than Windows none-the-less. And it is opensource. Currently trying to push Aalborg Kommune to the the same. Needless to say, they hate me
<eyJhb> Guessing srhb knows PHP based on bibliotek.dk uses Drupal
<etu> eyJhb: I'm serious about the offer though. We're in desperate need for someone good.
<etu> eyJhb: Primary location is Stockholm though, Krakow is fine too :p
<eyJhb> etu: Well, I am currently still working on my degree at Aalborg University, so.. There is at least 3 years before I am done, sorry :(
<eyJhb> If I don't follow up with a PhD
<eyJhb> But if I find anyone I want deported to Sweden, I will say etu ;) The only other guy I know who is into PHP and good, also is in the middle of univeristy.. And works at Danske Bank..
<etu> eyJhb: I know that there has been one more than me running NixOS in this building, in total. He held a talk about 2 years ago that got me hooked. He left us like a month ago and came by to tell me that he has never met a person with "such an exquisite taste in software" :D
<eyJhb> samueldr just saw this https://lincolnloop.com/blog/saying-goodbye-botbotme/ , and thought about the IRC logging on here. Maybe interesting?
<eyJhb> etu: haha, of course! - That is what most dealers would say!
<eyJhb> I am a little disappointed in the one who got me hooked, is not in any nixos channels, and I think he has never made a single contribution. But spreading the word is great too!
<etu> eyJhb: Well, he runs Emacs as well. I run EXWM ;)
<eyJhb> etu: do you ahve your emacs foot pedal ?
<eyJhb> EXWM seems evil..
<etu> eyJhb: I bought one from china once, it was very cheap. And very garbage :)
<eyJhb> So, you DO have one?
<etu> No
<eyJhb> Damn. So it got thrown out I am guessing
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos-chat
drakonis has joined #nixos-chat
drakonis_ has quit [Ping timeout: 252 seconds]
drakonis_ has joined #nixos-chat
drakonis_ has quit [Read error: Connection reset by peer]
drakonis1 has joined #nixos-chat
drakonis has quit [Ping timeout: 248 seconds]
__monty__ has quit [Quit: leaving]
drakonis has joined #nixos-chat
drakonis1 has quit [Ping timeout: 268 seconds]
<joepie91[m]> srhb: we were discussing yesterday how maybe librarians would have useful expertise for untangling the big pile of Nix(OS) documentation
<joepie91[m]> that exists across many places
endformationage has joined #nixos-chat
drakonis_ has joined #nixos-chat
waleee-cl has joined #nixos-chat
drakonis has quit [Ping timeout: 248 seconds]
drakonis has joined #nixos-chat
drakonis_ has quit [Ping timeout: 248 seconds]
_e has quit [Quit: WeeChat 2.4]
<joepie91[m]> random though: it would be useful to have a graph that visualizes how backlogged we are in merging PRs of various types
<joepie91[m]> graphing "oldest open PR" and "90th percentile" over time
<joepie91[m]> thought*
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 252 seconds]
drakonis_ has quit [Read error: Connection reset by peer]
drakonis has joined #nixos-chat
drakonis has quit [Ping timeout: 258 seconds]
travelion has joined #nixos-chat
drakonis has joined #nixos-chat
<ajs124> how do I override a library in steam to be one from an older release?
<ajs124> borderlands (2) either segfaults on me or has no audio, if I don't do this
Jackneill has quit [Remote host closed the connection]
<sphalerite> the ping on the bus goes jitter jitter jitter, jitter jitter jitter, jitter jitter jitter
<eyJhb> sphalerite you okay? :p
<samueldr> the wheels on the bus goes round round round
<sphalerite> Maybe I should use matrix and its IRC bridge, maybe it'll deliver my messages more reliably. LOL
<eyJhb> sphalerite what do you currently use?
<srhb> reckt..
<srhb> joepie91[m]: Hmm, next time I visit them I can ask, but I'm not sure any of the librarians really got hooked yet.
<sphalerite> eyJhb: weechat via mosh. Over 3G on a bus through the countryside.
<eyJhb> Ohh... Yeah.. That is not.. Great
<joepie91[m]> srhb: just nerdsnipe them with an information organization problem :D
<srhb> sphalerite: And here I thought you were talking about actual jitter on an actual bus.. Wait, I mean like.. The kind of bus in your PC.
<sphalerite> :D
<sphalerite> downloading 600MB of lineageos through this connection was not fun
<gchristensen> oof
<eyJhb> sphalerite for your OPO?
<joepie91[m]> one bit at a time :P
<sphalerite> no, for my newly obtains xiaomi a1 which doesn't have lineageos on it yet
<sphalerite> _updates_ can wait for a better internet connection, initial setup of a new phone can't :p
<sphalerite> joepie91[m]: yep
<sphalerite> I downloaded it on a server and rsynced it from there though, instead of HTTPing it directly
<gchristensen> will you switch to NixOS Phone when it is ready? :)
<sphalerite> gchristensen: I intend to do some mobile-nixos hacking at zurihac! :)
<gchristensen> yayay
* gchristensen puts up the samueldr-signal
<samueldr> turn it off, sphalerite talked to me already :)
<joepie91[m]> now you can garbage-collect on your phone!
<joepie91[m]> :p
<gchristensen> ^.^
<joepie91[m]> more seriously, would be interesting to see
<samueldr> building blocks, so you can build your own frankenphone os
<gchristensen> I delighted the Snapcraft team by creating a (almost) fully functional Firefox in about 5min with makeSnap { meta = { name = "firefox"; architectures = ["amd64"]; apps.firefox = { command="${pkgs.firefox}/bin/firefox"; plugs=["browser-support" "desktop" "home" "network" "x11"];}; confinement="strict";};}
<gchristensen> if anyone wants to try the first Nix based snap, snap install --edge grahamc-nix-snap-example-firefox
<etu> ooh, nix based snaps :D
<etu> That's amazing
<etu> gchristensen: That way I can build packages for my fathers ubuntu with ease <3
<etu> gchristensen++
<gchristensen> :o nice
<{^_^}> gchristensen's karma got increased to 122
<gchristensen> not quite yet, their validation is a bit weird still, so takes some massaging -- but they're fixing the bugs
<makefu> can we build nix as a snap?
<gchristensen> ...maybe
<samueldr> makes me think, I experimented on my new aarch64 chromeos device and using nix on crostini (their linux VM) is as simple as using the nix installer as you would elsewhere, so I guess it's the same on x86_64 crostini
veske has joined #nixos-chat
<gchristensen> nice!
pie__ has quit [Ping timeout: 272 seconds]
<sphalerite> right, back on the internet now
<sphalerite> gchristensen: I have mobile-nixos as far as it exists currently running on my OPO, so I can show you that sometime this weekend :)
<gchristensen> yay
<sphalerite> (don't expect to be overwhlemed though :p )
<gchristensen> what is OPO?
<sphalerite> oneplus one
<gchristensen> oh cool
<gchristensen> doesit do phone stuff yet?
<srhb> Who wants human contact when they have NixOS?
<srhb> Wait
* gchristensen eyes srhb, eyes the channel name, eyes srhb
<srhb> gchristensen: Are you _not_ gcofborg?
<srhb> :(
<gchristensen> hehe
<gchristensen> https://github.com/walaura/tailflix/ 1. this is awesome 2. I have repos with this exact same commit history
<manveru> damn, somehow i always get stuck at writing docs :(
<manveru> and now i'm wondering how to best use flakes for rubygems...
<gchristensen> I am at the "write docs" phase of my snap stuff, too
<sphalerite> gchristensen: no, not at all
<sphalerite> gchristensen: it doesn't have UI or anything
<sphalerite> it's just a nix-built image that will boot, so far
<sphalerite> stage-1 sort of thing
<gchristensen> oh cool
<sphalerite> with adbd
<sphalerite> getting a nixos system installed is kind of a so-close-yet-so-far thing. The devices I have available for testing are mostly armv7, and you know what that means…
<gchristensen> :|
<sphalerite> my new phone (just arrived today) has aarch64, but I want to use that as a normal phone and can't dedicate it to these experiments :/
<sphalerite> so we need better cross-nixos! :D
<gchristensen> I want to go ask if there are seat upgrades ... but don't want to lose my prime laptop charging location.
<sphalerite> oh no!
<sphalerite> and you're travelling on your own I guess?
<gchristensen> yea
<gchristensen> hmm I wonder if there is power at the seat.
<sphalerite> maybe only in upgrade class ;)
<gchristensen> "There is no power in Economy. There are USB ports at every seat on this plane.". I have a USB-A to C adapter ...
<samueldr> 5V probably 1A, maybe 2A to a laptop is... not much :)
<sphalerite> USB-A won't deliver 20V
<gchristensen> bummer
Jackneill has joined #nixos-chat
<sphalerite> maybe if you attach to enough USB ports you can use a step-up DC-DC converter and charge your laptop from that :p
<samueldr> your laptop maybe can handle sipping from the lower power outlets to discharge slower
<eyJhb> sphalerite: stealing all the USB ports
_e has joined #nixos-chat
pie__ has joined #nixos-chat
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos-chat
drakonis has quit [Read error: Connection reset by peer]
drakonis has joined #nixos-chat
drakonis_ has joined #nixos-chat
pie__ has quit [Remote host closed the connection]
pie__ has joined #nixos-chat
drakonis has quit [Ping timeout: 248 seconds]
veske has quit [Ping timeout: 268 seconds]
<monsieurp> please make it stop
Jackneill has quit [Remote host closed the connection]
<pie__> problem is facebook is big enough to be in a position of making anything happen...
<pie__> and they have the user base to make it stick
<pie__> inb4 india's economy turns into facebookcoin
<monsieurp> it takes a special kind of stupid to come up with such a completely bs idea
<joepie91[m]> monsieurp: it's almost certainly got fuck all to do with "cryptocurrency"
<joepie91[m]> and is just company scrip
<joepie91[m]> and the only reason it's called "cryptocurrency" is to, you guessed it, skip regulations
drakonis has joined #nixos-chat
<monsieurp> CRYPTO ALL THE THINGS!
drakonis_ has quit [Ping timeout: 248 seconds]
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 258 seconds]
drakonis has joined #nixos-chat
jasongrossman has quit [Ping timeout: 248 seconds]
<drakonis> ,flakes
<drakonis> finally got it working
<drakonis> this is honestly pretty dope
<jackdk> is the flakes stuff flakey or solid? Wondering if I should refactor my "packages that are important to me" repo into flakes
<drakonis> its solid right now
<drakonis> right now i'm not sure how it'll change the contribution workflow
<colemickens> Looking for advice - my laptop BIOS is buggy and doesn't reset usb devices properly. And thus I have to physically unplug and replug the yubikey for it to be detected.
<colemickens> however, after switching to gnome, this apparently crashes systemd. any suggestions? Other than "stop using gnome"? lol
<drakonis> do you have any logs?
<drakonis> hmm, nixos-rebuild doesnt support flakes yet, a pity.
<samueldr> colemickens: in the past I used a heavy handed approach of forcing rmmod of the right *hci module and modprobing it again
<samueldr> colemickens: for cycling back usb that got weird
<samueldr> if you do so, ensure that your keyboard is not usb connected, or that it always loads them after rmmoding :)
<drakonis> is nixos-rebuild provided by nixpkgs?
<drakonis> (clearly yes)
<samueldr> drakonis: *puts psychic debugging cap on* https://nixos.org/nixos/options.html#nix.package
<samueldr> did you set your configuration to use the other nix?
<drakonis> i have.
<drakonis> but i cannot set it to build from flakes
<drakonis> the system configuration is set to use nix with flakes, but i cannot use nixos-rebuild to use the new channel scheme
<drakonis> https://nixos.org/nixos/options.html#nix.package i have this set as nixFlakes
<drakonis> okay yeah flakes support has to be built into nixpkgs
endformationage has quit [Ping timeout: 248 seconds]
* colemickens wonders if nixos-rebuild is even needed in a flakes world
<drakonis> the design doc still references it
<drakonis> nix_path still exists in here though.
<drakonis> must be the channels i guess
<drakonis> nixos-rebuild is necessary for building the system right now
<colemickens> it doesn't have to be ;) https://github.com/colemickens/nixcfg/blob/master/nixup.sh
<drakonis> hmm.
<drakonis> neat!
<drakonis> i'm still not sure how i'm supposed to ditch nix_path