<eyJhb>
I have seen it adisbladis :p We sound correct!
<adisbladis>
eyJhb: All scandinavians sounds danish after enough pilnsers <3
<sphalerite>
I heard that Danisch sounds like you're speaking with a hot potato in your mouth
<sphalerite>
mostly from my sister
<adisbladis>
sphalerite: Hot potato or porridge
<hyperfekt>
gchristensen: one question i was wondering about is: what size of change warrants what level of pivot? the classical question is, should my nixos server switch configurations or should i be using a new one? should i reload a config file or restart the service? ideally of course, i point my top-level DNS at entirely fresh provisioned infra - but low deploy times are nice.
<adisbladis>
hyperfekt: I think it depends. How stateful are your systems?
<adisbladis>
Most NixOS users have incredibly stateful home directories, just as an example
<adisbladis>
The NixOS model can give you essentially the same benefits as a "full" pivot (new machine) without the associated costs
<eyJhb>
Haters :(
<eyJhb>
Sad I have to switch away from physlock, else I need to have a script that changes my screen beforehand
<eyJhb>
Becuase everything just goes black, no prompt and the DisplayLink screen freezes on whatever is active
<eyJhb>
:(
<eyJhb>
etu , emily are you doing anything special regarding physlock and multiple monitors?
<eyJhb>
Or just guessing freezes mean lock :p
<gchristensen>
hyperfekt: yeah, great question. I came to NixOS because we created brand new servers for every deploy, and found NixOS's model to be sufficiently atomic/pure to not need to do that
<gchristensen>
and muc hfaster
<hyperfekt>
gchristensen: so is your preferred policy one of minimum pivot?
<hyperfekt>
i was thinking that one could mix the two models: instantly apply at minimal pivot, and do more fundamental pivots regularly.
<gchristensen>
I'm not sure, I'd want to think about it a bit more case-by-case first
<gchristensen>
the fundamental pivots are captured inthe 90 days policy, which I think is really good
<hyperfekt>
yes, i really liked that one! you're right, i missed how that related.
<gchristensen>
hyperfekt: but yeah, you definitely want to be able to go fast
<joepie91>
anyone know if any solution was ever found to this? https://logs.nix.samueldr.com/nixos/2019-12-02#2844695 -- I'm running into this with my tinc configuration, I always have to rebuild my system twice for it to work
<joepie91>
unfortunately Gopal-M is not around anymore
<gchristensen>
abathur: hmm I'd never considered resholved in the interactive case
<gchristensen>
I was thinking rewriting teh alias, but I think either of those could work
<abathur>
do you think it be prohibitively annoying to have to specify?
<gchristensen>
what do you think about shellcheck-like directives?
<abathur>
I've considered it and am not opposed; but I've focused on the CLI & Nix interfaces because they're usable even if you don't control the source and/or want to avoid maintaining patches against it
<gchristensen>
makes sense
<gchristensen>
maybe then rewrite uses of it, removing uses of the alias
<abathur>
AFAIR, the parse model resholved is walking from oil doesn't have comments in it, though, so I suspect they'd have to get parsed in a separate run and then correlated with the nodes they affect as they're visited
<gchristensen>
this way you get the desired in-script behavior, but dynamic aliases for interactive use .... and then there could be a further option to also rewrite the alias definition
<abathur>
it's seeming like the answer is that each potential approach makes sense in different contexts
<abathur>
would simple replacements like that work, at least in your case? do you have any example scripts that are disclosable?
<gchristensen>
just about all of them :P
<joepie91>
aha. it appears that the wiki page on Tinc has some Opinions about the networking / interfaces thing: https://nixos.wiki/wiki/Tinc#networking.interfaces
<joepie91>
so known issue in NixOS' static network config, apparently?
<gchristensen>
infinisil: super excited. my brother is there.
<abathur>
hopefully the weather plays along
<eyJhb>
Seems like all nginx/phpfpm pages are out of date, can't get a single example to work :/
<gchristensen>
I am sorry to have to make this announcement, but given Borderlands' release on the switch I no longer have time to do anything else
<abathur>
:P
<joepie91>
gchristensen: you survived the trap of Animal Crossing, but couldn't put up enough resistance against the lure of Borderlands. with this, you have unfortunately dropped out of the half finals
<joepie91>
:P
<gchristensen>
:D
<gchristensen>
I appreciate that it takes the game about as seriously as I do
<ar>
joepie91: i play both borderlands, and animal crossing
<eyJhb>
Like 1. No clue what it is and 2. Is because of one I think, why everyone is playing it
<infinisil>
I do know what it is, and I have it on my 3DS, but I never really got into playing it, it's a bit too boring for me :P
<eyJhb>
THere might be a addiction change for me
<drakonis1>
its relaxing
<eyJhb>
However! Looking at NixOS rebuild is also OK
<eyJhb>
(fetching TexLive....)
<LnL>
rip slim
<risson>
eyJhb: will do
<eyJhb>
risson: Wait, what did I do?
<risson>
> eyJhb Someone remind me
<{^_^}>
undefined variable 'eyJhb' at (string):313:1
<risson>
`undefined variable 'eyJhb'` :/
<eyJhb>
Ahh . Perfect, thanks risson !
slack1256 has joined #nixos-chat
drakonis_ has joined #nixos-chat
drakonis has quit [Ping timeout: 258 seconds]
drakonis has joined #nixos-chat
drakonis_ has quit [Ping timeout: 246 seconds]
drakonis2 has joined #nixos-chat
drakonis has quit [Ping timeout: 260 seconds]
Jackneilll has joined #nixos-chat
Jackneill has quit [Read error: Connection reset by peer]
<manveru>
wonder if that bot has a timeout set...
<risson>
Only one way to know
<__monty__>
Does anyone configure firefox bookmarks with smart keyword or multi-account containers or extensions using nix?
slack1256 has quit [Remote host closed the connection]
averell has quit [Quit: .]
<risson>
I love how the fuel for the rocket is described as “rocket grade kerosene”
<risson>
I was like “gotta try this in my lighter”
<__monty__>
Where do they use kerosene? Isn't it hydrazine and oxygen and something else for ignition?
<risson>
You're probably right, but that's how it's described on SpaceX website
<__monty__>
Hmm, wiki says monomethyil hydrazine and nitrogen tetroxide oxidizer. But in the last stream I believe they talked about a third substance used for initial ignition which gave a green flame.
<viric>
how is the state of dns nowadays in NixOS (or other GNU pieces)? All without cipher/auth as always had been? Or there are more private/authenticated pieces working by default?
<pistache>
__monty__: I do configure multi-account containers using Nix, but couldn't find a clean way to do it
<__monty__>
pistache: So you just drop a containers.json in your profile?
<pistache>
I just write
<pistache>
yes, exactly
<pistache>
__monty__: actually I write "containers.json.in", because Firefox will replace the symlink if I put it in containers.json
<__monty__>
Hmm, is that documented anywhere?
<__monty__>
Does firefox generally take like an initial file?
<pistache>
I couldn't find documentation on that, just went by trial and error
<infinisil>
lovesegfault: Does it fail like that after ~20 seconds?
<lovesegfault>
infinisil: lemme grab my stopwathc
<infinisil>
Oh, it does say success confirmation received
<infinisil>
lovesegfault: Let's go to #nixus again though
* lovesegfault
goes
<eyJhb>
adisbladis: ping
__monty__ has quit [Quit: leaving]
<abathur>
welp, I found a simple way to make bash segfault
<cole-h>
`pkill -SEGV bash`? :P
parsley936 has quit [Remote host closed the connection]
parsley936 has joined #nixos-chat
<abathur>
simultaneously more and less simple, I guess? I thought I'd just get a recursion too deep error but instead it just crashes after ~9 seconds: bash -c "alias ls='ls -l'; function ls(){ ls -a; }; ls"
<sphalerite>
abathur: is the alias part necessary for that?
<sphalerite>
Nope for me it segfaults without the alias as well
<sphalerite>
after ~10s
<abathur>
ah, fair
<abathur>
good spot
* sphalerite
golfs: :() { : : ; }; :
<sphalerite>
can use any identifier character, doesn't have to be :, but it looks funnier like that
<ashkitten>
;-; i was installing ms-dos on my thinkpad a30 and the floppy drive up and shit itself
<ashkitten>
i think i need a new one?
<ashkitten>
unless they're serviceable
<sphalerite>
lolwat
<ashkitten>
i don't know!
<ashkitten>
it smells like magic smoke and doesn't work anymore
<iqubic>
sphalerite: I'm not going gto be running the fork bomb on my computer today.
<abathur>
kinda surprised it doesn't emit a recursion depth error on a self recursion, I could swear I've seen it throw one on a loop between functions before, but maybe I'm mis-remembering
<sphalerite>
abathur: unfortunately I think `kill -11 $$` is still shorter and faster than `:(){ : :;};:`…
<ashkitten>
how does a floppy drive just fry itself randomly like that
<joepie91>
ashkitten: maybe the motor got stuck?
<joepie91>
and burnt itself out
<sphalerite>
ashkitten: motor could be stuck -> heat -> smoke
<ashkitten>
oh, that's possible
<sphalerite>
damn joepie91 beat me to it
<ashkitten>
i probably should've cleaned it
<ashkitten>
shit
<ashkitten>
well now it's done with
<sphalerite>
it is probably serviceable though
<joepie91>
:P
<joepie91>
sphalerite: and that was *with* Matrix lag!
<joepie91>
especially if it's old stuff that seems plausible
<sphalerite>
I mean, just based on my knowledge of thinkpads, especially old ones…
<ashkitten>
i bought the only ebay listing for the drive
<sphalerite>
lol
<joepie91>
ashkitten: what sort of floppy drive was it? standard 3.5", swappable custom bay, integrated?
<ashkitten>
but it is the drive i need and it's quite cheap
<samueldr>
"mark it as collectible" ... ... "how to artificially inflate the value of an item"
<joepie91>
ashkitten: hmmm. have you checked whether there are equivalent drives under different model names? IIRC that was a thing for a while with swappable-bay drives
<samueldr>
(playing jeopardy, badly)
<ashkitten>
joepie91: i haven't, but as long as this one works...
<ashkitten>
oh lol i was searching for the wrong number, n533 isn't the model number
<ashkitten>
whatever
<ashkitten>
it's the right thing, listing says it works
<ashkitten>
i won't worry about it
<joepie91>
ashkitten: oh this is the replacement you bought, not the broken one?
<ashkitten>
what? i wouldn't put a broken item up on ebay
cole-h has quit [Quit: Goodbye]
cole-h has joined #nixos-chat
<samueldr>
I think joepie91 is assuming "SOLD" on that item is to you
<ashkitten>
ohhh
<ashkitten>
yes it is me, i bought it
<ashkitten>
as a replacement
<ashkitten>
the laptop was from a friend
<ashkitten>
well-used
<joepie91>
right okay, I got confused thinking that you bought that one and then just blew it up and couldn't find a replacement
<joepie91>
but I was apparently off-by-one :P
<ashkitten>
lol, it's fine
<adisbladis>
Nice
<adisbladis>
I was just going through some old stuff today and found a USB diskette drive
<ashkitten>
i just want a working floppy drive so i can install ms-dos ;-;
<ashkitten>
did you know that freedos doesn't support installing from a floppy set
<ashkitten>
only from cd
<JJJollyjim>
NixDOS pls
<ashkitten>
✨ JJJollyjim
<{^_^}>
JJJollyjim's karma got increased to 1
<joepie91>
ashkitten: hmmm. maybe it has a serial/parallel/whatever port that you can hook up a floppy drive to?
<ashkitten>
i don't have a serial or parallel floppy drive
<ashkitten>
i have a usb one but i don't think it'll work
<samueldr>
most of them were proprietary, AFAIK even "parallel" laptop floppies were
<JJJollyjim>
woo sparkles obtained
<JJJollyjim>
✨
<joepie91>
right, but those should be much more easily obtainable than vendor-specific bay models
<joepie91>
samueldr: wait really?
<samueldr>
from knowledge I gathere from a few dos machines enthusiasts online
<samueldr>
though it's possible I'm wrong still
<samueldr>
but I wouldn't be surprised a "standard parallel" floppy drive won't be bootable
<samueldr>
well, I generally pick a scheme and stick with it
<samueldr>
so all my server names are named after f-zero tracks
<samueldr>
and all my personal devices are named after simpsons characters (since probably ~2002)
<cole-h>
All my hostnames come from locations in the Cosmere
<samueldr>
I've never had to think about a "per-use" hostname
<lovesegfault>
infinisil++
<{^_^}>
infinisil's karma got increased to 306
<joepie91>
samueldr: my server naming is like that standards XKCD
<joepie91>
I have 13 different naming schemes, and room for a 14th!
<MichaelRaskin>
At work where we understood we will have a large amount of long-lived VMs, we decided to plan ahead and called the cluster «Saturn». This provides a perfect naming scheme for the VMs. Best part: no need to choose the next name to use, they come pre-numbered!
<infinisil>
Nice, how many moons does saturn have?
<energizer>
yknow hostnames can be numeric
<infinisil>
I'm gonna name my hosts with an increasing amount of pi's digits. First will be "3", second "3.1", etc.
<infinisil>
Then I can just say "Pi to X digits" and everybody will know the host name immediately!
<MichaelRaskin>
infinisil: you will run out of patience first
<MichaelRaskin>
Wikipedia says that ordered labels are assigned to 53 of them
<MichaelRaskin>
The rest seem to lack nice names
<joepie91>
53, that's the port number for DNS
<joepie91>
DNS breaks things
<joepie91>
therefore naming them after moons of saturn will make your servers break
<MichaelRaskin>
Uranus has 24, Jupiter 72 labeled ones but after 50 some lack names
<JJJollyjim>
i had to change my naming scheme when i moved in with my boyfriend cos it turned out our desktops had the same hostname lol
<MichaelRaskin>
joepie91: if DNS breaks things, you are doing it wrong
<joepie91>
MichaelRaskin: you're not familiar with the "it's never DNS" meme? :P
<energizer>
JJJollyjim: wow. what was it?
<MichaelRaskin>
joepie91: doesn't _every_ part of the infrastructure have such a meme?
<JJJollyjim>
archbox, not particularly creative lol
<joepie91>
no, DNS is special :P
<lovesegfault>
cole-h: ping
<cole-h>
pong
<lovesegfault>
cole-h: I merged my nixus branch :D
<cole-h>
Oooo
<abathur>
at least on my laptop, my hostname changes every nix-darwin rebuild
<energizer>
abathur: why?
<abathur>
do you want the dumb reason or the smart reason?
<cole-h>
Yes
<energizer>
i'm hoping it's "hash my configuration into the hostname"
<energizer>
but i have no idea how to do that
<infinisil>
abathur: I want to believe there is no smart reason
<manveru>
hostname is part of the config... so you're gonna need a while to find it :P
<abathur>
the dumb reason is that macOS likes to name the computer and hostname stuff like "<User's firstname>'s MacBook Air"
<abathur>
but when I bought a 2nd macbook and was working on transferring my Nix configs and built 2 at once, I had 2 <firstname's MacBook Air, which the OS didn't like, and renamed it to "<firstname's MacBook Air (2)"
<abathur>
and, so, here we are
<infinisil>
Ohhhh, I've had this happen too
<joepie91>
missed chance for "<firstname's MacBook Air(2) final.docx" imo
<infinisil>
Lol
<abathur>
the (admittedly, not smart, but less dumb) reason is that I already hated that apple wanted to stuff my name in my hostname all of the time since I use a lot of public wifi, and I figured it wasn't terrible to rotate my hostname regularly
<ashkitten>
i tried using a usb floppy drive but it not only doesn't boot from that, having it plugged in causes the bios to write a short line of garbage pixels to the screen
<abathur>
though, yes, I would prefer a random hn along the lines of what joepie91 suggests
<ashkitten>
so, that's not great
<abathur>
because most humans at least would eventually figure out the rotating hash hostname is the same system
<abathur>
but, whatever, it was a simple fix to making sure each macbook has a distinct HN
<abathur>
also helpful if I need to ssh between macbooks and can't remember what level of inception I'm at
<ashkitten>
abathur: sounds like you need a status bar that just says "inception level: 2"
<joepie91>
I would legitimately like a feature like that in my terminal
<joepie91>
"You are 3 SSH sessions deep"
<MichaelRaskin>
Are you willing to have to setup something on all the machines that can be in the reported chain?
<samueldr>
when it's running my usual config, I have tmux doing that implicitly
parsley936 has quit [Remote host closed the connection]
<abathur>
well, I do use a number of > characters to indicate my shlvl
<abathur>
and I invert them if it's a ssh session
<abathur>
and also use green for one and red for other
<abathur>
TO MAKE REALLY SURE I DON'T GET CONFUSED
<energizer>
i use a different color PS1 per host
<energizer>
generated dynamically by hashing
<abathur>
nice
<abathur>
it all gets complicated by the fact that linux and macOS have defacto different user shlvls, though, I should probably adjust for that at some point