gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
drakonis has joined #nixos-chat
evanjs has quit [Quit: ZNC 1.7.4 - https://znc.in]
evanjs has joined #nixos-chat
<ashkitten> i've got an interesting idea i wonder if anyone's tried yet. so im sure everyone is aware that changing usernames cleanly is nigh impossible due to many applications hardcoding paths on first use, i wonder if a workaround is possible by setting $HOME to some location that is consistent between users (/run/home, maybe) and that uses some mechanism to always point to the home directory of the uid a program
<ashkitten> is running under? then presumably the username or home directory doesn't matter and can be changed at any time
drakonis has quit [Quit: WeeChat 2.6]
das_j has quit [Remote host closed the connection]
das_j has joined #nixos-chat
waleee-cl has quit [Quit: Connection closed for inactivity]
drakonis has joined #nixos-chat
drakonis_ has quit [Ping timeout: 245 seconds]
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 245 seconds]
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 quit [Read error: Connection reset by peer]
drakonis has joined #nixos-chat
endformationage has quit [Quit: WeeChat 2.6]
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 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
MichaelRaskin has quit [Quit: MichaelRaskin]
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
<Miyu-chan> > The default value of the server_names_hash_bucket_size directive may be equal to 32, or 64, or another value, depending on CPU cache line size
<{^_^}> error: syntax error, unexpected ',', expecting ')', at (string):264:84
<Miyu-chan> Oh.
<Miyu-chan> Hm.
<Miyu-chan> Oh. I think I get it.
<Miyu-chan> Yeah, that seems to make sense.
<srhb> I have zero nginx servers that don't need 64... :P
<Miyu-chan> :o
<srhb> Like, how few vhosts do people usually have?
* Miyu-chan personally doesn't do networking that much, even if I'm working as a DevOps lmao
<Miyu-chan> Thank you NixOps for saving me.
<srhb> Count your blessings :-P
<Miyu-chan> I only have like 2 vhosts. foo.bar, and git.foo.bar.
* Miyu-chan shrug
<eyJhb> I only have 1 normally
<srhb> I'm surprised. :P
<srhb> I guess I have a tendency to have a lot of status.foo.bar etc.
<eyJhb> srhb: one week left! - I have like nothing to host/use it for atm. :p But that is also personally
<srhb> eyJhb: yessss
<srhb> So excited :) Also very happy to be lying around in bed at this hour :-P
<eyJhb> Like I COULD setup a couple, but I usually just use.. the ports :p
<eyJhb> I can imagine! Must be nice for you to return ;) - I would say the same, but I have somewhat gotten out of bed, and just sat at my PC. So I COULD do the same :p
<srhb> Almost considered going there to pick up laptop, but got scolded and reminded to not work for free. :P
<eyJhb> But don't think my project mate would enjoy
<srhb> haha. Nice :)
<eyJhb> "THen give me money!!" - srhb :D
<srhb> :-P
<eyJhb> Do you have the day off?
<srhb> All week. Too many hours at $oldjob :)
<srhb> Had last day this friday. Got some very nice beers as a parting gift.
<eyJhb> Whaaat, that sounds so nice.. Do you have any plans on what you are going to do this week then?
<eyJhb> There are _some_ beers in Aalborg as well, I canne garantee they are nice
<srhb> Play some games, do some release-19.09 work if need be :)
<srhb> Trying to catch up on the current status of the branch
<eyJhb> Curious about what games you play :p - Sounds look Gods work if you do so ;) If you're bored there is #69265, just to see if you agree with me on it :D
<{^_^}> https://github.com/NixOS/nixpkgs/issues/69265 (by eyJhb, 9 hours ago, open): networking.firewall.extraCommands: should run before all drop/reject
<eyJhb> Also! Once you do get to your new job, I have a inquiry/suggestion ;) :D
<srhb> Feel free to whenever. :) I'll take a look but I'm a bit wary of firewall stuff.
<srhb> eyJhb: I feel like at that point a number of requests for injecting at arbitrary places of the firewall script are equally valid...
drakonis has joined #nixos-chat
<eyJhb> srhb: well, it isn't arbitrary, `Additional shell commands executed as part of the firewall initialisation script. These are executed just before the final "reject" firewall rule is added, _so they can be used to allow packets that would otherwise be refused._`, which is what I would like to do :D
<eyJhb> But good you point it out! I have left comment on the issue now, specifying why I would expect that behaviour :D
drakonis_ has quit [Ping timeout: 246 seconds]
<srhb> eyJhb: Thanks. :) I really wish we had a better language to describe this (maybe we do?)
<srhb> As in, I want my firewall rules to be compiled all-at-once and be specified in a language that is order-agnostic.
<eyJhb> Describe firewalls? Like, before this, after this?
<eyJhb> I think there are multiple things wrong with the firewall and nat, as e.g. it doesn't use stop commands itself as far as I know :(
<eyJhb> There probably is some good tools for this. Also it is actually quite hard for NixOS to cleanup iptables it has added itself, as it will not use the previous state on a rebuild. Unless it runs stop on all services in the current config, and then switches and starts again
<srhb> Yeah, I want something completely declarative
<srhb> And atomic.
<eyJhb> Yeah, that might be hard, but maybe ##networking knows something :p Or I can chat up someone at AAU! Also, annoying that the order for starting things are iptables then openvpn, but I see both things being relevant and good..
veske has joined #nixos-chat
pie__ has joined #nixos-chat
pie_ has quit [Ping timeout: 240 seconds]
Synthetica has joined #nixos-chat
<pie__> would anyone from the us be willing to bring https://www.ebay.com/itm/00HN909-LENOVO-X250-HEATSINK-FAN-ASSEMBLY-NEW/183793670955 https://www.ebay.com/itm/ThinkPad-X240-X240s-X250-X260-04X0215-04X0177-Backlit-Keyboard-NEW/182597795428 to nixcon for me? i dont want to pay another 70 bucks for shipping and import fees.... ;_; its just a keyboard and a fan...
veske has quit [Quit: This computer has gone to sleep]
<Arahael> $70 for shipping and import, what a world we live in.
<tazjin> Is the NixOS Foundation a registered non-profit organisation? Has anyone here ever gotten their employer to match contributions to it?
<tazjin> says on the website that it is registered, okay - https://nixos.org/nixos/foundation.html
psyanticy has joined #nixos-chat
<joepie91> tazjin: worth noting that a foundation is not necessarily an "ANBI" ("institution with social purpose") and so it doesn't necessarily qualify for contribution-matching (given that those are usually based on tax benefits)
<emily> wanted: sha256:0000000000000000000000000000000000000000000000000000
<emily> got: sha256:00gsdm7qf6gsxqmkgqz1ing1yc0352s14pvw863rdbjbd1bv5r0m
<emily> how many Nixcoins do I earn for this?
<etu> emily++
<{^_^}> emily's karma got increased to 6
<etu> One internet karma for you!
<eyJhb> emily: what have you done? :p
<infinisil> > pmd.src.outputHash
<{^_^}> "0000w28dg5z8gs7cxhx7d0fv10ry0yxamk5my28ncqqsg7a4qy8w"
<tazjin> joepie91: it's worth a shot though! I've emailed the foundation contact people to hear back. The FSF and several other tech-related foundations have this status, so we'll see
<joepie91> :)
<emily> infinisil: beautiful
<joepie91> tazjin: please let me know how that works out, I'm curious to know how this would work
kcalvinalvinn has quit [Remote host closed the connection]
kcalvinalvnn has joined #nixos-chat
<tazjin> joepie91: the way it works here is that we work with some company that "vets" organisations that are "nominated" by employees, but I'm not sure how transparent that process will be
<tazjin> the NixOS Foundation was previously nominated and rejected, but I can't see why so I'm just gonna do it again and see what happens
kcalvinalvnn has quit [Quit: ZNC 1.7.4 - https://znc.in]
kcalvinalvin has joined #nixos-chat
<hyperfekt> ashkitten: I like that idea!
drakonis has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos-chat
drakonis has joined #nixos-chat
<joepie91> another day, another spec violation found
<joepie91> (Matrix spec)
drakonis_ has quit [Ping timeout: 245 seconds]
veske has joined #nixos-chat
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 246 seconds]
drakonis_ has quit [Read error: Connection reset by peer]
drakonis_ has joined #nixos-chat
drakonis_ is now known as drakonis
<Arahael> *sigh*, I'm a very experienced developer, and yet, every single time I come across the fixed point combinator, I have to seriously study it.
<Arahael> Then it makes perfect sense!
<Arahael> Then I completely forget it :(
veske has quit [Quit: This computer has gone to sleep]
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 250 seconds]
endformationage has joined #nixos-chat
Synthetica has quit [Quit: Connection closed for inactivity]
drakonis has joined #nixos-chat
drakonis_ has quit [Ping timeout: 245 seconds]
<manveru> Arahael: the trick then is to try to explain it to other people using simple words :)
aminechikhaoui has quit [Quit: The Lounge - https://thelounge.github.io]
aminechikhaoui has joined #nixos-chat
waleee-cl has joined #nixos-chat
<Taneb> I'm struggling to google this, so I'll ask here. If I'm writing myself a systemd service, how should I approach logging such that journald all works properly
<manveru> Taneb: just write to stdout?
<Taneb> manveru: ah, it's always simpler than I expect
<ashkitten> hyperfekt: ty ^-^
<Taneb> Fun fact: one of my coworkers bought me a "Hydra" hat (from the greek island) for when I'm working on my office's Hydra server
<cransom> pics or it didn't happen
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 265 seconds]
endformationage has quit [Quit: WeeChat 2.6]
drakonis_ has quit [Ping timeout: 276 seconds]
drakonis has joined #nixos-chat
<eyJhb> Taneb: what cransom said
<eyJhb> If everyone did YYYY-MM-DD, so many things would be easier. Not sure all our dates in version numbers are YYYY-MM-DD, some might be YYYY-DD-MM, etc.. Hoping it isn't the case
<samueldr> the docs say it should be YYYY-MM-DD
<cransom> if it's YYYY-DD-MM, that person is mad.
<samueldr> maybe add a "date is screwey" check if MM > 12
<samueldr> (if it fits in your checking thing)
<cransom> and since i'm making demands, this is the hat that i wear if i'm doing things that i probably shouldn't be doing in production. https://casey.hubns.net/p/production-cowboy-hat.jpg
<samueldr> cransom: is that "anything"?
<samueldr> (things you shouldn't be doing in production)
<cransom> traditionally, it was usually if you broke production, you got that hat.
endformationage has joined #nixos-chat
<eyJhb> Looks like a nice car cransom !
<eyJhb> Also I love that concept, will find a hat for my project mate to wear, everytime he says something stupid :p
<eyJhb> samueldr: Could do that yeah :p I need a bit of cleanup on this... Also because some PRs have funny names :( Makes life hell
<cransom> car?
<eyJhb> Don't know if yours
<eyJhb> :p
<cransom> ah. yes. the excursion to home depot 2 blocks away where someone was going to claim my plywood and 2x4s were going to fly away and murder everyone.
<eyJhb> I do not blame them for thinking that
<eyJhb> But then again, here in Denmark Jylland, we have our trailers which... are not always safe or driven the speed limit on the highway
<cransom> the car did not make it over 50kph. had it been the freeway, i would have had more concern.
<eyJhb> It is not uncommon to see 110 km/h or 130 km/h when the speed limit is 80 here...
<eyJhb> I wouldn't have dared so either cransom, have tried that before, no fun
ixxie has joined #nixos-chat
ixxie has quit [Remote host closed the connection]
ixxie has joined #nixos-chat
ixxie has quit [Ping timeout: 276 seconds]
avn has joined #nixos-chat
endformationage has quit [Quit: WeeChat 2.6]
psyanticy has quit [Quit: Connection closed for inactivity]
waleee-cl has quit [Quit: Connection closed for inactivity]
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 252 seconds]
waleee-cl has joined #nixos-chat
drakonis_ has quit [Ping timeout: 265 seconds]
drakonis_ has joined #nixos-chat
drakonis_ is now known as drakonis
endformationage has joined #nixos-chat