gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
andi- has joined #nixos-chat
<ashkitten> it works!
<ashkitten> everything works and nothing is broken
<ashkitten> we're all immune to bullets and it's a miracle
<Irenes[m]> lovesegfault: I believe the way to boot a custom image that you prepared locally is to upload it to GCS first and then tell GCE to use it as the snapshot
<Irenes[m]> I don't think .iso is the appropriate format, I think it's something else
<Irenes[m]> I haven't done it in a while though
<lovesegfault> Alright, I give up
colemickens_ has joined #nixos-chat
<colemickens_> TIL Thunderbird has an IRC client in it?
<lovesegfault> colemickens_: wat
<ashkitten> thunderbird has a lot of things
<gchristensen> too bad it doesn't have a decent email client
* lovesegfault uses thunderbird for email and loves it
<ashkitten> gchristensen++
<{^_^}> gchristensen's karma got increased to 223
<colemickens_> gchristensen: what do you use?
<ashkitten> lovesegfault++
<{^_^}> lovesegfault's karma got increased to 19
<colemickens_> It's still downloading my mail, but it seemed like it was doing the job?
<gchristensen> I mostly just ignore my email
<lovesegfault> uh-oh
* lovesegfault did something horrible
<gchristensen> I really wanted Evolution to work, but I couldn't get it syncing right
abathur has joined #nixos-chat
colemickens_ has quit [Quit: colemickens_]
<lovesegfault> I killed my build server
<lovesegfault> oh god
<colemickens> It has crashed like 3 times already downloading my mail.
<lovesegfault> Okay, I need help
<cole-h> lovesegfault: Uh oh. How?
<lovesegfault> I don't know
<lovesegfault> I may need ssh tunelling to open the IPMI interface
<lovesegfault> since it's behind a bastion
<lovesegfault> oh god
drakonis has joined #nixos-chat
<lovesegfault> ok, I managed to access the IPMI
<lovesegfault> ok, I recovered it cole-h
<lovesegfault> I had forgotten to add my user to the system config
<cole-h> 🎉
<lovesegfault> and then when I morphed it to the new one
<cole-h> Lol nice
<lovesegfault> I couldn't ssh
<cole-h> Maybe you should include a fallback default user for cases like this :P
<cole-h> Or put an assertion somewhere
<infinisil> lovesegfault: In my deployment solution I have a thing that checks whether ssh works after the rebuild
<infinisil> If it doesn't, it rolls back :)
<lovesegfault> infinisil: do you use morph?
<infinisil> Nope
<lovesegfault> morph has health checks like that, but I don't have it enabled
<infinisil> I use my own WIP thing: https://github.com/Infinisil/nixoses
<gchristensen> speaking of which, infinisil, https://github.com/NixOS/nixops/pull/1245 -- you might have interesting feedback
<{^_^}> nixops#1245 (by grahamc, 2 days ago, open): Deploy Targets: Policy/Behavior-free Deployment Hooks (auto-rollbacks, drain events, etc.)
<lovesegfault> infinisil: woah, you implemented it in pure nix?
<infinisil> gchristensen: *looking*
<cole-h> infinisil: I'm personally a fan of "Nixus" as the changed name, whenever you get around to that
<infinisil> gchristensen: I like how the auto-rollback is done with a target that needs to be activated
<infinisil> In my nixoses thing I'm just using bash (<- lovesegfault) that listens to a socket for the confirmation
<lovesegfault> I'm really happy gchristensen has decided to give NixOps some love
<infinisil> gchristensen: I see you explicitly mentioned that the steps there are executed independently. But wouldn't it make sense that if the deploy-prepare fails for one machine, none of them should even start the activation script?
<lovesegfault> WHY DOES NOTHING I TRY WORK
<lovesegfault> GRRRRR
<infinisil> cole-h: Noted! Hearing it now I like that a lot too :)
<gchristensen> infinisil: a *really* good question -- could you write that up as a question on that issue?
<gchristensen> lovesegfault: lucky timing and then a client happened to need it :P
<infinisil> Will do
<gchristensen> thank you!
<infinisil> gchristensen: This also very much reminds me of 2-commit schemes
<infinisil> Or whatever they're called
<gchristensen> yeah
<gchristensen> me too :)
<lovesegfault> Have any of you tried to gen a gce image with Nix?
<lovesegfault> it's horrible
<colemickens> What is so horrible?
<lovesegfault> colemickens: I can't do it
<lovesegfault> it doesn't work
<infinisil> gchristensen: In an ideal world I'm also thinking that machines should probably be allowed to be dependent on each other. E.g. you could say "This machine needs to start before the other one"
<lovesegfault> c.f. the gist I posted above
<infinisil> Like inter-machine systemd dependencies
<gchristensen> sounds ... woof :P
<colemickens> ._.
<infinisil> There's `systemctl --host=...` already btw!
<gchristensen> gotta go to bed, write up all those good ideas on that issue :)
<ashkitten> is there a decent way to manage secrets with nixos?
<lovesegfault> ashkitten: no
<ashkitten> ah
<waleee-cl> infinisil: what shell witchery is that #! ?
<infinisil> waleee-cl: Ah just a template thing, substituteAll replaces @FOO@ with the contents of the environment variable FOO
<colemickens> afaik, the Google Compute image module doesn't affect the regular disk paritioning that make-disk-image makes. My image built and I am just including the google-compute-image.nix file.
<infinisil> (substituteAll is called on the script before it's actually used)
<waleee-cl> oh, ok.
<infinisil> ashkitten: I am actually pretty proud with how secrets are done here: https://github.com/Infinisil/nixoses/blob/master/modules/secrets.nix
<infinisil> It's really easy to use: Assign `secrets.foo.file = ./path/to/secret`, then you can use e.g. `services.foo.passwordFile = config.secrets.foo.file`
<infinisil> The secret never touches the store, yet things get properly tracked in nix (via a hash of the secret)
<infinisil> E.g. if you change the contents of path/to/secret and rebuild, it will recopy the secret over
<infinisil> Also: If you don't reference a secret anywhere in the config, it won't be copied over at all
<infinisil> Some magic was needed to make that happen, but I think it works really well
<infinisil> (currently secrets are stored on persistent storage, but that could be changed)
<ashkitten> infinisil: ooooo
<ashkitten> *saves that to look at later*
<infinisil> Actually, I should double check that it actually never touches the store, hold on..
<lovesegfault> Now I get an infinite recursion
* lovesegfault cries
<infinisil> Yup, can confirm
drakonis has quit [Ping timeout: 256 seconds]
<infinisil> This is the only place where the secret is touched by nix, and this doesn't import it into the store: https://github.com/Infinisil/nixoses/blob/42ae5dd61a7c65c172bb5d27785879fdbd6c3516/modules/secrets.nix#L38
<infinisil> lovesegfault: I have an unhealthy passion for infinite recursion :P
<ashkitten> so like, you can just store your secrets in a git repo and reference them like that?
drakonis has joined #nixos-chat
<ashkitten> how do you manage them with your system, basically?
<infinisil> How you store the files doesn't really matter, anything works
<infinisil> But I use a git repo yeah
<ashkitten> right, okay
<infinisil> A private git submodule to be exact
<cole-h> Does that secrest stuff work on non-NixOS?
<cole-h> s/secrest/secrets
<infinisil> cole-h: Yeah should be no problem :)
<lovesegfault> I really wish Nix gave me a better way to trace infinite recursion
<lovesegfault> like, I have no idea what's recursing here
<cole-h> I really wish Nix had better errors
<cole-h> Imagine Rust-level error messages in Nix
<lovesegfault> imports = [ (pkgs.path + "/nixos/modules/virtualisation/google-compute-image.nix") ];
<lovesegfault> I did this inside a module
<lovesegfault> and nix is like OH GOD RECURSION XINFINITY OH NOOOOOOO EXPLOSION SOUNDS
<ashkitten> infinisil: where do you keep your git repo?
<infinisil> lovesegfault: That's a classic case of imports depending on pkgs
<lovesegfault> infinisil: is that a bad thing?
<infinisil> infinite recursion comes from pkgs needing to know all overlays -> overlays can be defined in all imports -> to know all imports it needs to know pkgs
<infinisil> (among other reasons)
<ashkitten> infinisil: also, how is assinging to `secrets.foo.file` different than just using the assigned value directly?
<ashkitten> ass singing
<infinisil> ashkitten: The private one is on my server, but the public one is here: https://github.com/Infinisil/system
<lovesegfault> infinisil: Oh
<lovesegfault> is there a way around this?
<infinisil> ashkitten: That's what allows the magic to work. Because with some nixos module system tricks you can make those *not* the same
<infinisil> ashkitten: Assigning `secrets.foo.file = ./secret` and using that directly would import the secret into the store
<infinisil> I mean
<infinisil> Using ./secret directly would import it into the store
<ashkitten> oh i see
<infinisil> lovesegfault: In your case it's pretty easy: Add `modulesPath` to the argument list at the top, then use `(modulesPath + "/virtuali...`
<lovesegfault> O.o
<ashkitten> infinisil: how does this interact with remote deploys? does `services.foo.passwordFile` get set to the original path of the secret, or is it copied somewhere?
<infinisil> ashkitten: Hehe, so here's the magic: config.secrets.foo.file actually refers to a /nix/store path, that *symlinks* to /var/secrets/foo
<infinisil> So a pure /nix/store path symlinks to a path outside the store
<infinisil> The other parts of the module then ensures that this path actually exists at runtime
<infinisil> By coping the secret over with scp
<infinisil> s/scp/rsync
<ashkitten> i see...
<ashkitten> very cool
<ashkitten> might have to steal that ;p
<infinisil> So the secret file is really accessed during the deployment
<infinisil> Though I also experimented with creating a "secret archive": A single file where all secrets are copied into, which can then be used to deploy at a later time
<ashkitten> right, this is very cool
<infinisil> :D
<ashkitten> i see you have nixpkgs as a submodule as well... i might have to do that
<ashkitten> currently my nixpkgs is separate from nixos-config, and managed via channels
<infinisil> It is very convenient to just be able to change nixpkgs directly when you need it, e.g. for cherry-picking or experimenting
<ashkitten> i do have my own nixpkgs fork for that, but it's using the channels mechanism
<infinisil> Ah I see
<ashkitten> how would you suggest i use your nixoses repo?
<infinisil> Well it is very WIP, so probably not at all :P
<infinisil> ashkitten: But here's my entrypoint for it: https://github.com/Infinisil/system/blob/master/deploy/default.nix
<infinisil> ashkitten: One really cool thing about nixoses imo is that there's no special tool you need to install. All you need is a Nix file and `nix-build` that, which outputs a binary you can run to deploy
<ashkitten> huh
<cole-h> Binary-binary, or "binary" binary?
<infinisil> "binary" binary :), Just a bash script
<infinisil> So the actual command to deploy as of now is really just `$(nix-build)`
<ashkitten> infinisil: can you have it deploy to a specific host or do you need multiple derivations importing nixoses?
<infinisil> Not sure what you mean by that
<ashkitten> so my current workflow is: make changes to devices/foo/default.nix; nixos-rebuild switch -I nixos-config=./devices/foo --target-host root@foo
<ashkitten> how does that look with nixoses?
<infinisil> ashkitten: Define a default.nix that says host root@foo has configuration ./devices/foo, nix-build that, the call the resulting script (`$(nix-build)` in a single step)
<infinisil> Oh also you'll need to define what nixpkgs that machine should use (could be <nixpkgs> or any other pinned version as I did in the example I linked)
<ashkitten> right, okay. so should i have something like foo.nix since i have multiple devices i want to be able to deploy?
<infinisil> ashkitten: Ah no, nixoses is made for multiple machines (this is why I called it nixos*es* in the first place :))
<infinisil> So you can define any number of machines in that single default.nix file
<ashkitten> okay
<infinisil> Like how nixops does it
<ashkitten> can you choose just one to deploy?
<ashkitten> i don't know much about nixops heh
<infinisil> Yes and no!
<infinisil> No because there's no functionality for that
<infinisil> But Yes because you can customize nix-build's very easily
<ashkitten> really i just want a thing that lets me manage secrets like you've said nixoses lets you
drakonis has quit [Ping timeout: 256 seconds]
<ashkitten> also the auto rollback functionality looks a lot better than the systemd timer i'm currently using
<infinisil> E.g. define the default.nix to have `{ machine ? null }` in the beginning, which disables/enables deployments of machines. Then you can call `nix-build --argstr machine foo`
<ashkitten> i see
<ashkitten> ah, okay
<infinisil> defaults = { name, lib, ... }: { enabled = if nodes == [] then true else lib.elem name nodes; ...
drakonis has joined #nixos-chat
<infinisil> ashkitten: Also I have this little rebuild script wrapper I'm using to be able to control this more easily: https://github.com/Infinisil/system/blob/master/deploy/rb
<infinisil> With this I can just do `rb <machine-name>` to rebuild only that one
<ashkitten> neat!
<infinisil> Oh man, but I haven't even mentioned one of the coolest things about nixoses imo
<infinisil> You can write multi-host abstraction modules!
<ashkitten> that sounds fun
<ashkitten> hm
<ashkitten> i should figure out how to make this work with my configs
<infinisil> E.g. you can have `vpn = { server = "server1"; clients = [ "client1" "client2" ]; }`
<infinisil> And it would configure a vpn connection, just like that
<ashkitten> very cool
<infinisil> One of my goals is to have many of these modules that do such multi-host things :)
drakonis has quit [Quit: WeeChat 2.7.1]
<lovesegfault> how the heck do I ssh into a GCE box
<cole-h> Computer Engine -> VM instances -> SSH button
<cole-h> s/Computer/Compute/
<lovesegfault> cole-h: it don't work
<cole-h> Whaddaya mean it don't work
<lovesegfault> I must need to set something on the project
<lovesegfault> I really, really, really wish google had IPMI or something
<cole-h> Maybe you need to start it first? :P
<lovesegfault> ❯ gcloud beta compute ssh --zone "us-central1-a" "sartre" --project "nixos-270623"
<lovesegfault> bemeurer@35.232.245.196: Permission denied (publickey).
das_j has quit [Quit: killed]
ajs124 has quit [Quit: killed]
<lovesegfault> I hate everything
<cole-h> Using gcloud over ssh lol
das_j has joined #nixos-chat
ajs124 has joined #nixos-chat
<lovesegfault> I think the problem is gcloud tried to use it's own key?
<cole-h> idek where I added my SSH key in here
<cole-h> Ah, in Metadata
<lovesegfault> omg
<lovesegfault> I know what I am doing wrong
<lovesegfault> UGH
<lovesegfault> cole-h: remember I forgot to add my user to a system description?
<lovesegfault> I copied that one to write this one
* lovesegfault jumps out of window
<cole-h> lool
drakonis has joined #nixos-chat
<lovesegfault> cole-h: YES
<lovesegfault> YEEEEESSSSSS
<lovesegfault> IT WORKS
<cole-h> Blog post #2?
drakonis has quit [Ping timeout: 240 seconds]
<lovesegfault> :P
<ashkitten> nixos sure makes you feel good about spending massive amounts of effort on slightly improved workflow and future-proofing... not sure if that's good or bad
drakonis has joined #nixos-chat
<cole-h> Yes
<lovesegfault> ok
<lovesegfault> now I can learn how to set up znc
<cole-h> Blog post #3?
<lovesegfault> I'm deciding on whether I want ZNC or weechat relay
<lovesegfault> I think I want ZNC so I can connect from my phone
<lovesegfault> but I can't find adisbladis's example ZNC setup
<cole-h> lovesegfault: http://ix.io/2dHq/nix
<cole-h> This?
<lovesegfault> yes!
<lovesegfault> nice
<cole-h> And the resulting... whatever this crap is: http://ix.io/2dHu
<lovesegfault> O.o
drakonis has quit [Quit: WeeChat 2.7.1]
<cole-h> lovesegfault: `hardware/gce.nix` appears to have unused args (`pkgs` and `config` don't appear to be used)
<lovesegfault> yep, artifacts
<lovesegfault> I'm trying to get OpenCL to work on my GPU node now
waleee-cl has quit [Quit: Connection closed for inactivity]
<cole-h> lovesegfault: I think you also forgot to add `sartre` to your hostnames file ;)
<cole-h> (What's the purpose of that, by the way?)
<lovesegfault> cole-h: it's there!
<lovesegfault> I think
<cole-h> Maybe unpushed, but https://paste.rs/3WN.jpg
<lovesegfault> Hmm, weird, don't know how I missed him
<cole-h> Too frustrated/excited
<lovesegfault> the point of that file is so I don't have to think about what to name machines
<lovesegfault> I just pick from the list
<cole-h> What happens when you run out of names?!
<lovesegfault> the list started with philosophers and scientists I liked
<lovesegfault> and now evolved into an extracted one from wikipedia
<lovesegfault> Then I make up a new thing to get names from :P
<lovesegfault> like minerals
<cole-h> plumbum
<ashkitten> reminds me of how my naming scheme devolved
<cole-h> Do you have a script to extract them from Wiki, or just look around the site until you find one you link?
<cole-h> s/link/like
<lovesegfault> cole-h: I searched "philosophers" then I found a list by century or something
<lovesegfault> I copy-pasted that into vim and chopped it down to just the names
<lovesegfault> Speed.#*.........: 30541.1 MH/s
<lovesegfault> wonder how long it will take for me to find my password
<lovesegfault> 4xTesla V100-SXM2-32GB
abathur has quit [Ping timeout: 255 seconds]
<lovesegfault> cole-h: do you know if GCE can hook into google domains and set a domain to my GCE instance?
<lovesegfault> like irc.meurer.org
<lovesegfault> hmm
<lovesegfault> that's for app engine
<lovesegfault> apparently you can do it with gce too
* lovesegfault tries
<lovesegfault> hmm
<lovesegfault> cole-h: eh
<lovesegfault> can you ping irc.meurer.org?
<cole-h> `ping: irc.meurer.org: Name or service not known`
<lovesegfault> hmmm
<lovesegfault> is irc like a special name or something?
<lovesegfault> wth
<cole-h> I can ping sans subdomain, FWIW
<colemickens> There's no A response for irc dot
<lovesegfault> hmm
<cole-h> https://github.com/NixOS/nix/pull/2490 If this (or any related PR) ever gets merged, I'll be a happy man
<{^_^}> nix#2490 (by layus, 1 year ago, open): Feature: Indent multiline antiquotations (v3)
cole-h has quit [Ping timeout: 255 seconds]
MichaelRaskin has quit [Quit: MichaelRaskin]
Jackneill has joined #nixos-chat
Taneb has joined #nixos-chat
__monty__ has joined #nixos-chat
icey_ has joined #nixos-chat
iceypoi has quit [Ping timeout: 258 seconds]
tilpner_ is now known as tilpner
rardiol has quit [Ping timeout: 255 seconds]
waleee-cl has joined #nixos-chat
* emily doesn't understand why everyone wants a weird pragma rather than just a different back-compat operator...
<emily> lovesegfault: did you actually add a record to irc.? you need to add records for every subdomain individually, or else add a wildcard
<gchristensen> emily: Haskell probably
<emily> especially because imo having it mangle strings with newlines in by default would be really confusing
<emily> that could easily break stuff, feels like it should definitely be another operator rather than just a magic behaviour of antiquotation
<__monty__> Magic?
neeasade has joined #nixos-chat
<eyJhb> Anyone knows a place where rserpool is used?
abathur has joined #nixos-chat
abathur has quit [Ping timeout: 240 seconds]
abathur has joined #nixos-chat
<emily> __monty__: automatically replacing all \ns with \n[spaces] because you included a variable in a certain position in a string is really weird and can definitely break things
abathur has quit [Ping timeout: 258 seconds]
waleee-cl has quit [Quit: Connection closed for inactivity]
abathur has joined #nixos-chat
AluisioASG has joined #nixos-chat
cole-h has joined #nixos-chat
rardiol has joined #nixos-chat
<averell> anyone know why we put nginx state in /var/spool/ ?
waleee-cl has joined #nixos-chat
endformationage has joined #nixos-chat
<makefu> just an nginx thing. there is also /var/spool/log for some reason
<lovesegfault> emily: I fixed it, I think
claudiii has joined #nixos-chat
<lovesegfault> adisbladis: did you manage to get SASL on zmq working?
<adisbladis> lovesegfault: No, I never tried.
abathur has quit [Ping timeout: 260 seconds]
drakonis has joined #nixos-chat
drakonis has quit [Ping timeout: 256 seconds]
<Taneb> How on-topic is debugging outloud why a game in steam isn't running for me
drakonis has joined #nixos-chat
<adisbladis> Taneb: This is -chat, where on topic is off topic & off topic is on topic
<adisbladis> =)
<Taneb> adisbladis: so, asking about topics is off topic and hence on topic
drakonis has quit [Ping timeout: 256 seconds]
<gchristensen> lol
<__monty__> If it's not a flame war it's off-topic.
<gchristensen> flame wars are off topic too
<adisbladis> Taneb: I guess a more actionable answer is, as long as you're nice anything goes.
<adisbladis> (Sometimes discussions here move to #nixos or -dev)
<samueldr> the main thing to remember is that this channel shouldn't become #nixos-2 or #nixos-dev-2 where fewer people are involved in answering actual questions
<samueldr> or discussing actual issues
<gchristensen> samueldr: it reached 18C here, today!
<samueldr> it's been snowing since ~noon here
Jackneill has quit [Remote host closed the connection]
<__monty__> In the shadow?
<gchristensen> samueldr: I could stand to have some more snow tbh, we are almost out.
<samueldr> about -6°C though it's warming during the night and will become snow/sleet/freezing rain and all the above
* adisbladis has had enough snow for a few lifetimes already
<samueldr> I can't wait until it melts enough that cycling as a transportation means is not a suicidal endeavour
<gchristensen> that gets gross
<__monty__> adisbladis: You're not one of those californians that has seen one day of snowflakes and come to that conclusion, are you?
<cole-h> lovesegfault: btw looks like you fixed irc. -- can ping it now
<adisbladis> __monty__: I'm from sweden
<cole-h> 61ms +/- :D
<samueldr> does the wather get sweady (sweaty) in sweden?
<samueldr> (I asked it only for the pun)
<__monty__> Ah, then you're snow views are probably pretty credible : )
* colemickens has been brainstorming conferencing / hangout-from-home type solutions
<adisbladis> __monty__: And my relatives are from the northern part of the country. Used to spend my winters up there as a kid.
<samueldr> uphill both ways in the snow?
<adisbladis> __monty__: I absolutely hate the cold.
<adisbladis> samueldr: :D
drakonis has joined #nixos-chat
<lovesegfault> colemickens: yep :)
<lovesegfault> I just need to figure out SASL now
<__monty__> lovesegfault: What's SASL over zmq?
<__monty__> Did you mean ZNC?
<lovesegfault> __monty__: znc, yes :)
<lovesegfault> got zmq issues on my mind
<__monty__> I've been having some SASL trouble myself. Anyone run into an irc server not recognizing a client certificate?
<adisbladis> Oh :)
<adisbladis> SASL over ZNC was easy!
<adisbladis> I thought you really meant ZMQ
<adisbladis> I did think there for a second I never talked about zmq with you ^_^
<adisbladis> lovesegfault: I just followed the wiki example
<__monty__> lovesegfault: What SASL method were you trying to use? Plain, external?
<lovesegfault> adisbladis: lol
<lovesegfault> thanks __monty__ for helping me clarify
<lovesegfault> And I mean plain
<adisbladis> lovesegfault: Had to load the module http://ix.io/2dPK/nix
<lovesegfault> adisbladis: but where does pass/user go?
<cole-h> Around that :)
<cole-h> lovesegfault: It's the exact same as the link I sent earlier, except you add the sasl module
<cole-h> (adisbladis's config from earlier)
<adisbladis> lovesegfault: That doesn't go in the config
<adisbladis> /query *sasl
<adisbladis> mechanism external plain
<lovesegfault> cole-h: that's the password for ZNC itself, as I understand, not for the networks' sasl auth
<adisbladis> set MyNickservName pa$$w0rd
<lovesegfault> Aha!
<lovesegfault> I get it now
<lovesegfault> nice
<adisbladis> I don't know if you can embed it in the config somehow
<lovesegfault> probably a better idea not to
<adisbladis> in the znc datadir: ./users/adisbladis/networks/freenode/moddata/sasl/.registry
<adisbladis> lovesegfault: And the NixOS module only erases configs/znc.conf on startup if `mutable = false`
<adisbladis> So setting it that way is persistent
* lovesegfault takes note
<lovesegfault> sweet
<adisbladis> lovesegfault: Good question :) I was also curious about how that worked.
<adisbladis> infinisil++
<{^_^}> infinisil's karma got increased to 228
<adisbladis> ^ Author of the znc module
<lovesegfault> adisbladis++
<cole-h> Anybody have a good, somewhat short summary of the Mexican Revolution on hand?
<{^_^}> adisbladis's karma got increased to 34
<lovesegfault> infinisil++
<{^_^}> infinisil's karma got increased to 229
<lovesegfault> cole-h: wat
<lovesegfault> Are you taking gen ed classes?
<adisbladis> Megawat
<gchristensen> cole-h: heck yes now we're on topic
<cole-h> :DDD
<infinisil> :D
<cole-h> Yeah, Latin American history midterm in T-2h:20m
<cole-h> One of the sections is to analyze a historical photograph related to the Mexican Revolution, wanted note supplements
<cole-h> I'll just scroll wikipedia
<lovesegfault> cole-h: nothing about Brazil? :(
<cole-h> lovesegfault: Only a little :) The Golden Law is one of the IDs
<cole-h> "Order and Progress" as well, but that's more the phrase than related to Brazil specifically
<cole-h> lovesegfault: Oh, there's also "racial democracy" (Gilberto Freyre)
<lovesegfault> cole-h: oh, nice!
* lovesegfault is brazillian
<lovesegfault> I don't like Order and Progress
<cole-h> Figured :)
<cole-h> (that you were Brazilian)
<cole-h> (plus the missing L)
<cole-h> (or keep the missing L missing)
<lovesegfault> I liked the motto during the Lula presidency, "Brazil: A country for everyone"
wildtrees has joined #nixos-chat
<lovesegfault> (it's a rough translation I think "Brazil: A country that belongs to all of us" is the more accurate one"
<cole-h> We're only into the ~1920s thus far
<lovesegfault> Oh, things are about to get exciting
<drakonis> quite.
<drakonis> very exciting.
<cole-h> ;d
<drakonis> i'm living it right now
<gchristensen> I am so annoyed by Git these days.
<gchristensen> I wish it stored patcthes
<gchristensen> https://gist.github.com/grahamc/a64bab1c569c9b331e6664c19c8418b0 is such a crap diff, but the way git works, it is impossible for me to tell it to provide the right diff -- https://gist.github.com/grahamc/4d0411a63006b72340e621d02dd2f952
Church- has joined #nixos-chat
<waleee-cl> wonder if the pijul guy has made any progress lately ...
<gchristensen> yes
<gchristensen> pijul can import nixpkgs now :)
<samueldr> gchristensen: wasn't there a new thing with git for that?
<gchristensen> samueldr: is there? I can't imagine how, since git doesn't store patches
<samueldr> trying to find info about it
<samueldr> :|
<samueldr> try to find "git changelog"
<drakonis> migrating nixpkgs to a new hosting service?
<gchristensen> drakonis: no, that is just the repo Pierre uses to test pijul's performance :)
<drakonis> huh, neat.
<samueldr> I think that's what I had in mind gchristensen https://git-scm.com/docs/diff-options/2.11.0#diff-options---indent-heuristic
<samueldr> for the current release https://git-scm.com/docs/diff-options/#Documentation/diff-options.txt---indent-heuristic
<gchristensen> cool
abathur has joined #nixos-chat
<sphalerite> I am really grateful for zfs. It's saved me from silent data loss from broken SATA cables (not even the disks!) 3 times now
<sphalerite> s/loss/corruption/
<gchristensen> wow!
<adisbladis> waleee-cl: Supposedly Pijul is going pretty well: https://twitter.com/pijul_org/status/1236244028615806977
<gchristensen> adisbladis: let's move nixops to pijul :)
<adisbladis> Production Ready (tm)
<drakonis> quick, someone convince drew devault to offer pijul on srht
<drakonis> he says nixpkgs is the largest repository? did he not try linux?
<drakonis> linux is significantly larger
abathur has quit [Ping timeout: 256 seconds]
<sphalerite> drakonis: depends.
<sphalerite> drakonis: nixpkgs has significantly more commits, around 900k while linux has about 200k
<gchristensen> I think you have that reversed
<adisbladis> sphalerite: Huh, you mean the other way around
<sphalerite> err
<sphalerite> yeah never mind me lol
<samueldr> that robot ry*n-tm will need to work harder
<adisbladis> Lazy bots..
<sphalerite> meeeh it seems like the error might not have been due to the SATA cable after all…
<sphalerite> but if the controller is at fault, maybe I have an excuse to buy a kobol NAS?
<samueldr> the early order discount is ending soon!
<adisbladis> Must not buy more things....
<waleee-cl> nice to see that pijul developement hadn't faded away
<adisbladis> Must resist urge
<sphalerite> samueldr: well, it's $10… not the world
<gchristensen> waleee-cl: afaik they have actual users using it for Very Real Things, it just happens to be they're not using it for managing lines of software code
<samueldr> they also are bundling in two type-c cables (type-c -> hdmi, and type-c to usb 3.0) in orders made before the 15th
<samueldr> sphalerite: but 10 freedom dollars!
<samueldr> that's like 13.50$ canuckbucks!
<sphalerite> lol canuckbucks
<sphalerite> €8.75
<sphalerite> thing is, I'd save a lot more by not buying it at all
<samueldr> also likely to save the headache of early adopting it
<samueldr> but think about all the fun you'd be losing on!
<adisbladis> This ^
<adisbladis> I'm not too keen on aarch64 hardware because of this
<gchristensen> don't like fun?
<samueldr> (tbf, the fact they bundle a known good type-c to usb 3 cable is worth its weight in gold)
<adisbladis> gchristensen: I need to pick my battles.
<samueldr> (it's **hard** to find known good cables)
<gchristensen> :P
<sphalerite> rk3399 is a fairly safe bet though
<samueldr> yeah
<sphalerite> and it has an rtc clock unlike the nanopi!
<samueldr> they were supposed to use rk3399k, but turns our they won't
<samueldr> and just use rk3399
<sphalerite> That's another little annoyance I'll be spared
<samueldr> rk3399 is well-supported by mainline u-boot, and the "fancy features" in the listing are all mainline u-boot features
<sphalerite> err rtc battery*
<sphalerite> oh and with the SPI flash I can boot it without an SD card
<sphalerite> and maybe it'll even be able to reboot!
<samueldr> mainline rk3399 pinebook pro reboots, so maybe!
<sphalerite> poo, the errors are still occurring
<sphalerite> so either I have 2 bad cables, 2 bad SSDs, or a bad controller
<drakonis> is there any particular reason to why all shells have a new line on the PS1?
<samueldr> what do you mean?
<gchristensen> it is so beautiful
<sphalerite> drakonis: #68599
<{^_^}> https://github.com/NixOS/nixpkgs/pull/68599 (by NilsIrl, 25 weeks ago, closed): Remove newline in PS1
<gchristensen> it is part of the NixOS brand
<samueldr> ah, nix-shell ?
<drakonis> its so weird.
<samueldr> I thought you meant all shells
<samueldr> I never noticed, my PS1 also has a leading newline since so far back
<adisbladis> Huh
<adisbladis> Never noticed that.
<drakonis> wow...
<LnL> lol
<drakonis> its weird that nobody noticed it until i pointed it out
<samueldr> in my case it's because it's my preference already I suppose :)
<adisbladis> drakonis: I rarely drop into a nix-shell like that. I mostly drop a .envrc with `use nix` at the root of every project
<drakonis> its not unique to nix-shell
<__monty__> Heh, change blindness maybe?
<drakonis> its on bash
<drakonis> any shell that reads PS1
* adisbladis is not using bash :)
<drakonis> well, does your shell read PS1?
<adisbladis> Nope
<samueldr> bash on nixos, I suppose
<sphalerite> samueldr: hmm, I could get a new SATA hat for my nanopi for $25. Or I could get an intel motherboard+cpu+ram to replace the whole thing for approx €125. Both are a fair bit cheaper than the kobol NAS…
<drakonis> hmm, well, i suppose that's why you can't notice it
<sphalerite> drakonis: PS1 is a shell variable, not an environment variable
<drakonis> hm, i see.
<samueldr> sphalerite: sure :) I'm mostly joking when pushing you
<samueldr> though it sure looks good
<sphalerite> samueldr: it doooooes
<sphalerite> samueldr: my heart wants it but my brain says I probably shouldn't.
<samueldr> lungs, liver, spleen, stomach?
<__monty__> Well that's no fair, an arm nas with more computing power than any of my machines >.<
<gchristensen> __monty__: what country are you in?
<sphalerite> __monty__: are you sure?
<samueldr> I think __monty__ said pentium M
<__monty__> Well, let a man be dramatic about hardware, sheesh ; p
<adisbladis> sphalerite: Buy my old nas :P
<__monty__> My desktop's a nehalem. That's probably more powerful but still.
<gchristensen> nice
<drakonis> a nehalem...
<drakonis> aint that nearly a decade old now?
<__monty__> Exactly, yes.
<samueldr> over
<drakonis> 11 soon to be 12 years old now
<drakonis> yowza
abathur has joined #nixos-chat
<adisbladis> __monty__: Only a few more years and it can drive a light motorbike
<drakonis> soon it'll be old enough to drink and drive
<__monty__> adisbladis: Might splurge on an ssd by then.
<samueldr> no one should drink and drive
<thefloweringash> It’s times like these I wish I could find my old Intel arm board
<gchristensen> wow
<drakonis> not that anyone should ever do that
<drakonis> __monty__: are you sure the ssd wont be bottlenecked by the cpu :V?
<samueldr> XScale, whew
<thefloweringash> It was even a nas appliance
abathur has quit [Ping timeout: 240 seconds]
<samueldr> almost sounds like a thread
<samueldr> threat*
<samueldr> XScale was used in a couple Windows CE devices IIRC
mrCyborg has joined #nixos-chat
<colemickens> How long to wait after asking for LGPL sources before poking again?
<colemickens> Company makes plenty of revenue off product to justify the hour it would take to have their rebase script also do a gitpush to a public repo.
<lovesegfault> colemickens: What's the co?
<colemickens> Plex
<gchristensen> colemickens: how did you contact?
abathur has joined #nixos-chat
<colemickens> Forum, but a forum moderator replied within 24 hours saying Plex had been notified.
<colemickens> So Plex had notice.... 11 days ago? They've been out of compliance likely since sometime in September, or shortly there after.
<gchristensen> send mail
<gchristensen> mail mail
<colemickens> Somehow that feels pushy, but I think thats a me-issue. I should go ahead and do that.
<gchristensen> yes
<lovesegfault> mail'em
<lovesegfault> what LGPL thing are they using?
<colemickens> ffmpeg
<gchristensen> colemickens: their compliance people (if they have any) probably don't operate on pleases :P
<colemickens> I just have this naive thought that somehow my plea might end up on a decent devs desk and they could just bang it out. But that's silly, it may well be strategic to drag their feet, don't have autonomy to do that, aren't incentivized to care, etc.
<colemickens> Just looking around for a template or something now...
wildtrees has quit [Remote host closed the connection]
<__monty__> Sounds like something the FSF might be able to help with?
wildtrees has joined #nixos-chat
neeasade has quit [Remote host closed the connection]
Jackneill has joined #nixos-chat
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #nixos-chat
Jackneill has quit [Remote host closed the connection]
__monty__ has quit [Quit: leaving]
mrCyborg has quit [Quit: WeeChat 2.7.1]
<jackdk> software freedom conservancy does some of this but looks like it's only for member projects? https://sfconservancy.org/copyleft-compliance/ maybe they can point you at people to wave sticks
endformationage has quit [Quit: WeeChat 2.6]
* jackdk screams
myskran has joined #nixos-chat
abathur has quit [Ping timeout: 256 seconds]
<lovesegfault> samueldr: language! 😮
<samueldr> that's a direct quote from that meme
<drakonis> woah nelly
<infinisil> Lol
<infinisil> "We're all time travelers, we travel at the speed of one minute per minute"
<infinisil> Hah
<cole-h> samueldr: `git commit die`
<samueldr> just so y'all sleep well: that's not going in the project
<samueldr> it just happened to cross my mind as I was about to use Lorem Ipsum