gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
lassulus_ has joined #nixos-chat
lassulus has quit [Ping timeout: 252 seconds]
lassulus_ is now known as lassulus
tilpner has quit [Ping timeout: 245 seconds]
Lisanna has quit [Ping timeout: 268 seconds]
jasongrossman has quit [Quit: ERC (IRC client for Emacs 26.1)]
drakonis_ has quit [Ping timeout: 250 seconds]
drakonis_ has joined #nixos-chat
pie__ has joined #nixos-chat
pie__ has quit [Remote host closed the connection]
jasongrossman has joined #nixos-chat
Drakonis has quit [Read error: Connection reset by peer]
pie_ has joined #nixos-chat
pie_ has quit [Excess Flood]
pie_ has joined #nixos-chat
pie_ has quit [Ping timeout: 244 seconds]
siers has joined #nixos-chat
<sphalerite> drakonis_: nice.
MichaelRaskin has quit [Ping timeout: 268 seconds]
drakonis_ has quit [Ping timeout: 245 seconds]
drakonis_ has joined #nixos-chat
__monty__ has joined #nixos-chat
disasm has quit [Ping timeout: 245 seconds]
jasongrossman has quit [Ping timeout: 246 seconds]
drakonis_ has quit [Ping timeout: 252 seconds]
drakonis_ has joined #nixos-chat
Lisanna has joined #nixos-chat
<andi-> not sure if this or #nixos-on-your-router fits better for this: https://3mdeb.com/firmware/enabling-ecc-on-pc-engines-platforms/ Finally ECC support :)
drakonis_ has quit [Ping timeout: 244 seconds]
drakonis_ has joined #nixos-chat
pie_ has joined #nixos-chat
pie_ has quit [Ping timeout: 244 seconds]
pie_ has joined #nixos-chat
Lisanna has quit [Ping timeout: 272 seconds]
Drakonis has joined #nixos-chat
pie_ has quit [Ping timeout: 268 seconds]
drakonis_ has quit [Ping timeout: 244 seconds]
drakonis_ has joined #nixos-chat
<samueldr> notable developer and maintainer of dolphin emulator
<gchristensen> alright!
<samueldr> and they already contributed through a PR, which was merged, 10 hours ago
<gchristensen> booya
<Drakonis> making it to the big leagues
<elvishjerricco> Hm. I want to set AddKeysToAgent=yes in ~/.ssh/config, but I can't find a way to have it set a timeout by default. I want it to be like the gpg-agent where it asks for a password and caches it in the agent for like 5min
<elvishjerricco> You can use `ssh-add -t`, but I was hoping for something that just happens when I invoke `ssh`, just like `gpg`.
<sphalerite> elvishjerricco: If this option is set to yes and a key is loaded from a file, the key and its passphrase are added to the agent with the default lifetime, as if by ssh-add(1).
<elvishjerricco> sphalerite: Yep. Can't seem to find a way to change that default
<elvishjerricco> Guessing there isn't one
<sphalerite> hm good point
<sphalerite> that's weird though, since it mentions "default lifetime" and not "infinite lifetime"
<elvishjerricco> I could just use GPG itself for SSH auth, but last time I tried that the TTY issues were way too annoying.
<sphalerite> elvishjerricco: aaah spawn the *agent* with -t to set the default lifetime
<elvishjerricco> sphalerite: Oohh nice
<elvishjerricco> sphalerite: Where'd you find that?
<sphalerite> man ssh-agent :)
<elvishjerricco> Of course :P
<elvishjerricco> Now to figure out how to add args to ssh-agent with `programs.ssh.startAgent = true;`...
<sphalerite> It did take looking at man ssh_config and man ssh-add and starting at them for a while tohugh :p
<sphalerite> elvishjerricco: programs.ssh.agentTimeout xD
<elvishjerricco> sphalerite: Lol just found that
<elvishjerricco> NixOS always knows just what I want :P
<Drakonis> nixos has too many packages :v
<gchristensen> it does?
<Drakonis> it has all the packages :V
<Drakonis> there's nothing you can't find these days in it
<sphalerite> Drakonis: I still bump into plenty of stuff you can't
<infinisil> Watch https://www.reddit.com/r/programming/ for announcements to find stuff you can package for nixpkgs :)
<Drakonis> hah
<Drakonis> now if only /r/programming wasn't a miserable pile of hot takes
<Drakonis> dare i say, a hn lite
<infinisil> Drakonis: Yeah..
<Drakonis> i'd stick to lobsters instead :v
<Drakonis> which i do
jasongrossman has joined #nixos-chat
<infinisil> Occasionally there are good discussions in /r/programming, so I'll still be there, but I prefer lobsters too :)
<Drakonis> but the good discussions aren't the norm
<Drakonis> which isn't fun at all
<Drakonis> its like playing the lottery :V
<simpson> Wow.
kini has quit [Quit: No Ping reply in 180 seconds.]
kini has joined #nixos-chat
<Drakonis> hah that's impressive
jasongrossman has quit [Ping timeout: 250 seconds]
disasm has joined #nixos-chat
siers has quit [Ping timeout: 272 seconds]
<infinisil> > fortune
<{^_^}> "Good day for a change of scene. Repaper the bedroom wall."
<andi-> > fortune
<{^_^}> "Blinding speed can compensate for a lot of deficiencies. -- David Nichols"
<andi-> mhm, does it come with sideeffects?
<infinisil> Well, is randomness a sideeffect?
<andi-> > "${fortune}..."
<{^_^}> "You will not be elected to public office this year...."
<infinisil> Yeah it is, so it does :)
<infinisil> > :v fortune
<{^_^}> fortune = select fortunes
<infinisil> (it uses builtins.currentTime + a simple prng)
<sphalerit> <pedantic> I think in this case it's a noise function as opposed to a PRNG, since it's stateless?
__monty__ has quit [Quit: leaving]
<infinisil> Not sure
<infinisil> > :v select
<{^_^}> select = list: lib.elemAt list (randomUpto (lib.length list))
<infinisil> > :v randomUpto
<{^_^}> randomUpto = x: builtins.div (random * x) 4294967296
<infinisil> > :v random
<{^_^}> random = lib.mod (1103515245 * builtins.currentTime + 12345) 4294967296
<infinisil> sphalerit: ^ Is that a PRNG?
<emily> yes
<emily> a terrible one, but who's counting
drakonis_ has quit [Ping timeout: 245 seconds]
drakonis_ has joined #nixos-chat
<infinisil> emily: Oh actually now that nix 2.0 has bit operations it would be feasible to implement a better one :O
Drakonis has quit [Read error: Connection reset by peer]
drakonis_ has quit [Ping timeout: 252 seconds]
drakonis_ has joined #nixos-chat