gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
<bqv> ah yes, of course this becomes problematic as soon as i consider that i'd have to revamp my secrets management, in darcs
<bqv> (hohoho, close one, i nearly thought i'd uploaded all my secrets unencrypted to the darcs clone, but of course it imported via git so doesn't read them plaintext)
<aleph-> Hmm. What's the idiomatic way to start a service that depends on another service? In this case, redis
<aleph-> Wonder if there's an example I can look at
* aleph- goes to look through github
<ajs124> just use systemd unit ordering? with like, requires, after, before, that kind of stuff?
<aleph-> Ugh, doy. Right
<bqv> one thing i never managed to properly do with native systemd is the "restart service B after service A starts/restarts"
<ashkitten> bqv: if you find out i also don't know this
<bqv> at this point i think it's just not doable, and the easiest way is to have a systemctl restart as an ExecStartPost
<bqv> ashkitten: oh so i'm not the only one, wow
<ajs124> just reboot the machine
<bqv> lol
<ashkitten> ✨ ajs124
<{^_^}> ajs124's karma got increased to 4
<ajs124> I think require might be able to do this. AFAIR systemd has passable documentation for all of this. Not terribly accessible, but their manpages are actually decent.
<ashkitten> my feet hurt so bad, i've been doing vr for a while today
<bqv> ajs124: i trawled the manpages for ages trying to work out how
<ajs124> I've been running nginx units which don't properly reload or restart the service under the right conditions for at least months
<gchristensen> bqv: I think you want a bind
<ajs124> BindsTo sounds like it, yes. documented in systemd.unit(5)
<gchristensen> and PartOf
<bqv> does that suffer from that if service A stops, service B stops?
<bqv> because that's unacceptable for my specification
<bqv> and that seemed to be the big issue systemd is unable to solve
<bqv> __monty__: wait, this won't work, flakes don't support all these new esoteric dvcses
<bqv> that's why i was considering mercurial, nix at least knows how to read git and hg, iirc
Arahael has quit [Ping timeout: 258 seconds]
Arahael has joined #nixos-chat
neeasade has quit [Remote host closed the connection]
MichaelRaskin has quit [Read error: Connection reset by peer]
slack1256 has quit [Remote host closed the connection]
waleee-cl has quit [Quit: Connection closed for inactivity]
drakonis has quit [Quit: WeeChat 2.8]
<bqv> Hm. I'm running git-bug, to import all github issue data from nixpkgs to my git clone. I started on the hour, its now :20, and only 1000 issues are done
<bqv> Theres nearly 90k total now, thats 1/90 done in 20 minutes
<bqv> So the whole thing might take around 2000 minutes, or just under 12 hours
<bqv> Yikes…
cole-h has quit [Quit: Goodbye]
<bqv> import error: API rate limit exceeded imported 3405 issues and 1359 identities with default bridge
<bqv> Marvellous
<bqv> The ratelimit resets an hour from now, so I guess its "x per hour", so if its an hour on, hour off, it'll take around a full 24h to import at best
<ashkitten> i can't even get xrgears to build, so i can't test if the xwayland patch is working
<ashkitten> i know steamvr doesn't work right
<ashkitten> openhmd in nixpkgs is missing a pkgconfig file
<ashkitten> it sure seems as though steamvr isn't even trying to get a drm lease
<JJJollyjim> Omg there's an xrgears?
<JJJollyjim> I wanna experience the gears in full VR glory
<ashkitten> JJJollyjim: if you can build https://git.sr.ht/~sircmpwn/xrgears on nixos i'd be very happy
<ashkitten> i'm so tired of trying to get it working lol
<JJJollyjim> you're probably more qualified but i'm happy to try
<JJJollyjim> looks like libxcb-randr isn't packaged
<JJJollyjim> outside of steam runtime
<ashkitten> JJJollyjim: wdym?
<JJJollyjim> it's listed as a dependency of xrgears, and i can't find it in nixpkgs
<JJJollyjim> oh nbm
<JJJollyjim> **nvm
<ashkitten> idk, might be able to try without
<ashkitten> oh
<JJJollyjim> it's all in xorg.libxcb
<ashkitten> yeah i just saw that
<ashkitten> ,locate xcb-randr.pc
<{^_^}> Found in packages: xlibs.libxcb.dev
<JJJollyjim> ugh
<JJJollyjim> okay
<JJJollyjim> so openhmd has three build systems
<JJJollyjim> we use the cmake one, which never builds the .pc
<JJJollyjim> meson does, so we could just switch to that, but idk what else it would break
<ashkitten> JJJollyjim: huh, good eye
<JJJollyjim> the autotools one also works
<JJJollyjim> or we could fix the cmake
<ashkitten> the other issue i ran into was that gli isn't packaged
<JJJollyjim> ah
<ashkitten> gchristensen: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://releases.nixos.org/nixos/20.03/nixos-20.03.2437.d6260a33e43/options.json.br. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
<ashkitten> on options.html
<ashkitten> not sure what to do here :/
parsley936 has joined #nixos-chat
__monty__ has joined #nixos-chat
c74d has quit [Ping timeout: 265 seconds]
<bqv> Oh no
<bqv> Git-bug just won't work
<bqv> Cause in trying to resume, it exceeds ratelimit again
<bqv> Nixpkgs is Too Damn Big
<Arahael> Rate limit? What for?
ixxie has joined #nixos-chat
<Arahael> Ah, nevermind.
<bqv> pulling every issue and comment thereof, into git
<Arahael> bqv: Programmatically? Make sure you're sharing the https session and not recreating it every time, maybe that might improve it.
<Arahael> bqv: No idea how they've calculated the rate limit, though, so that might not do it.
<bqv> yeah, i have no idea of the internals of git-bug, but that might help
obadz has quit [Quit: WeeChat 2.8]
ixxie has quit [Ping timeout: 246 seconds]
ixxie has joined #nixos-chat
leah2 has quit [Ping timeout: 260 seconds]
ixxie has quit [Ping timeout: 256 seconds]
leah2 has joined #nixos-chat
waleee-cl has joined #nixos-chat
dadada_ has quit [Quit: WeeChat 2.7.1]
dadada_ has joined #nixos-chat
noonien has joined #nixos-chat
leah2 has quit [Ping timeout: 260 seconds]
cole-h has joined #nixos-chat
bitmapper has joined #nixos-chat
bitmapper has left #nixos-chat [#nixos-chat]
ixxie has joined #nixos-chat
leah2 has joined #nixos-chat
bridge[evilred] has joined #nixos-chat
noonien has quit [Quit: Connection closed for inactivity]
drakonis has joined #nixos-chat
ixxie has quit [Ping timeout: 260 seconds]
Jackneilll has quit [*.net *.split]
cransom has quit [*.net *.split]
averell has quit [*.net *.split]
evils has quit [*.net *.split]
aminechikhaoui has quit [*.net *.split]
jD91mZM2 has quit [*.net *.split]
FireFly has quit [*.net *.split]
srk has quit [*.net *.split]
hyperfekt has quit [*.net *.split]
evils has joined #nixos-chat
Jackneilll has joined #nixos-chat
cransom has joined #nixos-chat
aminechikhaoui has joined #nixos-chat
averell has joined #nixos-chat
FireFly has joined #nixos-chat
jD91mZM2 has joined #nixos-chat
hyperfekt has joined #nixos-chat
srk has joined #nixos-chat
Arahael has quit [*.net *.split]
arianvp has quit [*.net *.split]
aszlig_ has quit [*.net *.split]
lejonet has quit [*.net *.split]
lejonet has joined #nixos-chat
arianvp has joined #nixos-chat
aszlig_ has joined #nixos-chat
Arahael has joined #nixos-chat
Arahael has quit [Max SendQ exceeded]
Taneb has quit [*.net *.split]
aranea has quit [*.net *.split]
{^_^} has quit [*.net *.split]
hax404 has quit [*.net *.split]
Shados has quit [*.net *.split]
jared-w has quit [*.net *.split]
ashkitten has quit [*.net *.split]
Valodim has quit [*.net *.split]
taktoa[c] has quit [*.net *.split]
joepie91 has quit [*.net *.split]
wirew0rm has quit [*.net *.split]
immae has quit [*.net *.split]
disasm has quit [*.net *.split]
evax has quit [*.net *.split]
ar has quit [*.net *.split]
CRTified[m] has quit [*.net *.split]
worldofpeace has quit [*.net *.split]
JJJollyjim has quit [*.net *.split]
savanni_ has quit [*.net *.split]
risson has quit [*.net *.split]
colemickens has quit [*.net *.split]
elvishjerricco has quit [*.net *.split]
rizary has quit [*.net *.split]
aria has quit [*.net *.split]
NinjaTrappeur has quit [*.net *.split]
feepo has quit [*.net *.split]
Taneb has joined #nixos-chat
{^_^} has joined #nixos-chat
Valodim has joined #nixos-chat
joepie91 has joined #nixos-chat
immae has joined #nixos-chat
disasm has joined #nixos-chat
taktoa[c] has joined #nixos-chat
Shados has joined #nixos-chat
jared-w has joined #nixos-chat
wirew0rm has joined #nixos-chat
ashkitten has joined #nixos-chat
hax404 has joined #nixos-chat
aranea has joined #nixos-chat
Arahael has joined #nixos-chat
CRTified[m] has joined #nixos-chat
colemickens has joined #nixos-chat
savanni_ has joined #nixos-chat
JJJollyjim has joined #nixos-chat
evax has joined #nixos-chat
worldofpeace has joined #nixos-chat
risson has joined #nixos-chat
ar has joined #nixos-chat
NinjaTrappeur has joined #nixos-chat
feepo has joined #nixos-chat
aria has joined #nixos-chat
elvishjerricco has joined #nixos-chat
rizary has joined #nixos-chat
Gaelan_ has quit [*.net *.split]
bqv has quit [*.net *.split]
raboof has quit [*.net *.split]
rycee has quit [*.net *.split]
ohhaimark[m] has quit [*.net *.split]
fpletz has quit [*.net *.split]
flokli has quit [*.net *.split]
etu has quit [*.net *.split]
fpletz has joined #nixos-chat
rycee has joined #nixos-chat
ohhaimark[m] has joined #nixos-chat
Gaelan_ has joined #nixos-chat
bqv has joined #nixos-chat
etu has joined #nixos-chat
flokli has joined #nixos-chat
raboof has joined #nixos-chat
parsley936 has quit [*.net *.split]
__monty__ has quit [*.net *.split]
ornxka_ has quit [*.net *.split]
pie_ has quit [*.net *.split]
parsley936 has joined #nixos-chat
ornxka_ has joined #nixos-chat
__monty__ has joined #nixos-chat
pie_ has joined #nixos-chat
colemickens has quit [Max SendQ exceeded]
rizary has quit [Ping timeout: 253 seconds]
elvishjerricco has quit [Ping timeout: 253 seconds]
jneplokh has quit [Ping timeout: 246 seconds]
danderson has quit [*.net *.split]
vesper has quit [*.net *.split]
c4rc4s has quit [*.net *.split]
kgz has quit [*.net *.split]
steveeJ has quit [*.net *.split]
kraem has quit [*.net *.split]
kcalvinalvin has quit [*.net *.split]
JJJollyjim has quit [Ping timeout: 250 seconds]
feepo has quit [Ping timeout: 250 seconds]
jared-w has quit [Ping timeout: 260 seconds]
leonardp has quit [Ping timeout: 244 seconds]
emily has quit [Ping timeout: 244 seconds]
Irenes[m] has quit [Ping timeout: 244 seconds]
steveeJ has joined #nixos-chat
kraem has joined #nixos-chat
kgz has joined #nixos-chat
c4rc4s has joined #nixos-chat
vesper has joined #nixos-chat
danderson has joined #nixos-chat
kcalvinalvin has joined #nixos-chat
philipp[m]1 has quit [Ping timeout: 244 seconds]
bridge[evilred] has quit [*.net *.split]
evanjs has quit [*.net *.split]
abathur has quit [*.net *.split]
aleph- has quit [*.net *.split]
steveeJ has quit [Max SendQ exceeded]
c4rc4s has quit [Max SendQ exceeded]
vesper has quit [Max SendQ exceeded]
kgz has quit [Max SendQ exceeded]
c4rc4s has joined #nixos-chat
vaibhavsagar has quit [Ping timeout: 246 seconds]
leons has quit [Ping timeout: 244 seconds]
aanderse has quit [Ping timeout: 244 seconds]
arcnmx has quit [Ping timeout: 244 seconds]
danielrf[m] has quit [Ping timeout: 244 seconds]
tokudan[m] has quit [Ping timeout: 244 seconds]
aterius has quit [Ping timeout: 256 seconds]
raboof has quit [Ping timeout: 260 seconds]
rycee has quit [Ping timeout: 260 seconds]
aria has quit [Ping timeout: 259 seconds]
AluisioASG has quit [*.net *.split]
rajivr has quit [*.net *.split]
thefloweringash has quit [*.net *.split]
jtojnar has quit [*.net *.split]
liszt has quit [*.net *.split]
cbarrett has quit [*.net *.split]
johanot has quit [*.net *.split]
ldlework has quit [*.net *.split]
kalbasit has quit [*.net *.split]
evanjs has joined #nixos-chat
aleph- has joined #nixos-chat
abathur has joined #nixos-chat
bridge[evilred] has joined #nixos-chat
AluisioASG has joined #nixos-chat
thefloweringash has joined #nixos-chat
johanot has joined #nixos-chat
liszt has joined #nixos-chat
cbarrett has joined #nixos-chat
jtojnar has joined #nixos-chat
kalbasit has joined #nixos-chat
rajivr has joined #nixos-chat
ldlework has joined #nixos-chat
evils has quit [*.net *.split]
tokudan has quit [*.net *.split]
adisbladis has quit [*.net *.split]
monsieurp has quit [*.net *.split]
avn has quit [*.net *.split]
ivan has quit [*.net *.split]
CRTified[m] has quit [Ping timeout: 240 seconds]
jared-w has joined #nixos-chat
kgz has joined #nixos-chat
aria has joined #nixos-chat
tokudan has joined #nixos-chat
evils has joined #nixos-chat
avn has joined #nixos-chat
monsieurp has joined #nixos-chat
adisbladis has joined #nixos-chat
worldofpeace has quit [Ping timeout: 240 seconds]
vesper11 has joined #nixos-chat
das_j has quit [*.net *.split]
cole-h has quit [*.net *.split]
energizer has quit [*.net *.split]
kini has quit [*.net *.split]
ottidmes_ has quit [*.net *.split]
hl has quit [*.net *.split]
ekleog has quit [*.net *.split]
puzzlewolf has quit [Ping timeout: 244 seconds]
andi- has quit [*.net *.split]
liff has quit [*.net *.split]
betawaffle has quit [*.net *.split]
Peetz0r has quit [*.net *.split]
edef has quit [*.net *.split]
srhb has quit [*.net *.split]
mudri has quit [*.net *.split]
pasukon has quit [*.net *.split]
misuzu has quit [*.net *.split]
tazjin has quit [Quit: Updating details, brb]
ekleog has joined #nixos-chat
hl has joined #nixos-chat
ottidmes_ has joined #nixos-chat
kini has joined #nixos-chat
energizer has joined #nixos-chat
das_j has joined #nixos-chat
cole-h has joined #nixos-chat
liszt has quit [Ping timeout: 246 seconds]
rajivr has quit [Ping timeout: 246 seconds]
ivan has joined #nixos-chat
betawaffle has joined #nixos-chat
edef has joined #nixos-chat
srhb has joined #nixos-chat
liff has joined #nixos-chat
andi- has joined #nixos-chat
Peetz0r has joined #nixos-chat
pasukon has joined #nixos-chat
misuzu has joined #nixos-chat
mudri has joined #nixos-chat
kalbasit has quit [Ping timeout: 246 seconds]
johanot has quit [Ping timeout: 246 seconds]
Peetz0r has quit [Max SendQ exceeded]
betawaffle has quit [Max SendQ exceeded]
ivan has quit [Excess Flood]
dadada_ has quit [*.net *.split]
julm has quit [*.net *.split]
genevino has quit [*.net *.split]
viric has quit [*.net *.split]
sdier has quit [*.net *.split]
Cynthia has quit [*.net *.split]
tazjin has joined #nixos-chat
emilazy has quit [*.net *.split]
peel has quit [*.net *.split]
LnL has quit [*.net *.split]
spacekookie has quit [*.net *.split]
ky0ko has quit [*.net *.split]
lucus16 has quit [*.net *.split]
Ashy has quit [*.net *.split]
jackdk has quit [*.net *.split]
davidtwco has quit [*.net *.split]
zimbatm has quit [*.net *.split]
jw358 has quit [*.net *.split]
manveru has quit [*.net *.split]
hexa- has quit [*.net *.split]
f0x has quit [*.net *.split]
gchristensen has quit [*.net *.split]
samueldr has quit [*.net *.split]
johanot has joined #nixos-chat
Cynthia has joined #nixos-chat
viric has joined #nixos-chat
sdier has joined #nixos-chat
julm has joined #nixos-chat
dadada_ has joined #nixos-chat
ivan has joined #nixos-chat
cbarrett has quit [Ping timeout: 246 seconds]
balsoft has quit [Remote host closed the connection]
thefloweringash has quit [Remote host closed the connection]
jtojnar has quit [Remote host closed the connection]
ohhaimark[m] has quit [Remote host closed the connection]
Ashy has joined #nixos-chat
peel has joined #nixos-chat
zimbatm has joined #nixos-chat
LnL has joined #nixos-chat
jw358 has joined #nixos-chat
gchristensen has joined #nixos-chat
emilazy has joined #nixos-chat
spacekookie has joined #nixos-chat
f0x has joined #nixos-chat
ky0ko has joined #nixos-chat
jackdk has joined #nixos-chat
manveru has joined #nixos-chat
hexa- has joined #nixos-chat
lucus16 has joined #nixos-chat
samueldr has joined #nixos-chat
rajivr has joined #nixos-chat
genevino has joined #nixos-chat
lovesegfault has quit [*.net *.split]
clever has quit [*.net *.split]
infinisil has quit [*.net *.split]
lukegb has quit [*.net *.split]
makefu has quit [*.net *.split]
makefu has joined #nixos-chat
lukegb has joined #nixos-chat
clever has joined #nixos-chat
infinisil has joined #nixos-chat
lovesegfault has joined #nixos-chat
mudri has quit [Ping timeout: 244 seconds]
pasukon has quit [Ping timeout: 244 seconds]
rajivr has joined #nixos-chat
rajivr has quit [Changing host]
Peetz0r has joined #nixos-chat
sphalerite has quit [*.net *.split]
qyliss has quit [*.net *.split]
pistache has quit [*.net *.split]
talyz has quit [*.net *.split]
Cynthia has quit [Ping timeout: 252 seconds]
pistache has joined #nixos-chat
talyz has joined #nixos-chat
sphalerite has joined #nixos-chat
qyliss has joined #nixos-chat
sphalerite has quit [Max SendQ exceeded]
raboof has joined #nixos-chat
davidtwco has joined #nixos-chat
nckx has quit [*.net *.split]
eyJhb has quit [*.net *.split]
eyJhb has joined #nixos-chat
nckx has joined #nixos-chat
raboof has joined #nixos-chat
raboof has quit [Changing host]
steveeJ has joined #nixos-chat
Cynthia has joined #nixos-chat
steveeJ has joined #nixos-chat
steveeJ has quit [Changing host]
Cynthia has joined #nixos-chat
Cynthia has quit [Changing host]
emilazy has quit [Ping timeout: 274 seconds]
rizary has joined #nixos-chat
sphalerite has joined #nixos-chat
emilazy has joined #nixos-chat
liszt has joined #nixos-chat
kalbasit has joined #nixos-chat
betawaffle has joined #nixos-chat
mudri has joined #nixos-chat
pasukon has joined #nixos-chat
elvishjerricco has joined #nixos-chat
cbarrett has joined #nixos-chat
feepo has joined #nixos-chat
thefloweringash has joined #nixos-chat
bridge[evilred] has quit [*.net *.split]
evanjs has quit [*.net *.split]
abathur has quit [*.net *.split]
aleph- has quit [*.net *.split]
aleph- has joined #nixos-chat
evanjs has joined #nixos-chat
abathur has joined #nixos-chat
bridge[evilred] has joined #nixos-chat
colemickens has joined #nixos-chat
<colemickens> mkOutOfStoreSymlink <- any pitfalls to using this?
<infinisil> Where's that?
<energizer> that's a home-manager feature
<infinisil> Ah
<infinisil> colemickens: It would make your system less reproducible, e.g. rollbacks wouldn't roll back the given file
<gchristensen> colemickens: probably just want to avoid it as much as possible. it is sort of pretendign to be pure but not
<colemickens> Hm, thanks for saying it, I don't know how I didn't think through it, this would 'break' some ways I use nix and my config.
<__monty__> Why does it lack purity?
<gchristensen> well it is "purely" making a symlink but at run-time it isn't
<energizer> it's a convenience feature so you can edit your dotfiles without rebuilding your whole system
<gchristensen> yeah, so pretending to be pure but not
leonardp has joined #nixos-chat
CRTified[m] has joined #nixos-chat
worldofpeace has joined #nixos-chat
tokudan[m] has joined #nixos-chat
vaibhavsagar has joined #nixos-chat
Irenes[m] has joined #nixos-chat
philipp[m]1 has joined #nixos-chat
balsoft has joined #nixos-chat
jtojnar has joined #nixos-chat
rycee has joined #nixos-chat
emily has joined #nixos-chat
aterius has joined #nixos-chat
ohhaimark[m] has joined #nixos-chat
puzzlewolf has joined #nixos-chat
arcnmx has joined #nixos-chat
leons has joined #nixos-chat
JJJollyjim has joined #nixos-chat
jneplokh has joined #nixos-chat
aanderse has joined #nixos-chat
danielrf[m] has joined #nixos-chat
<energizer> for me rebuild/switch takes 30+ seconds so if i were changing my dotfiles often i'd want to use that
<gchristensen> yeah, so my workflow for editing my emacs config for example, is rebuilding my emacs package
<gchristensen> very fast, no rebuild/switch
<gchristensen> still pure
<energizer> how do you get the new emacs onto your path?
<gchristensen> ./result/bin/emacs and when I'm happy, nixos-rebuild switch
<energizer> i've heard flakes makes rebuilding faster, which is good
<energizer> switch remains slow, would be interested to see some profiling graphs
parsley936 has quit [Remote host closed the connection]
<colemickens> using it to just cheat and avoid rebuilds seems... :(
<colemickens> I assumed it was mostly a secrets "solution"
parsley936 has joined #nixos-chat
<infinisil> colemickens: In https://github.com/Infinisil/nixus I use something very much like mkOutOfStoreSymlink for secrets
<energizer> gchristensen: that's just the build, not switch, right?
<gchristensen> switch is a handful of symlinks and then systemd dealing with service changes
<energizer> https://www.speedscope.app/ is nice
<energizer> flamegraph visualizer
<gchristensen> I doubt it could handle a nixpkgs flamegraph...
<energizer> yeah i wonder what it is about those symlinks and services that takes so long
<gchristensen> the symlinks take no time
<gchristensen> the rest would be good to know
<infinisil> Part of it is the evaluation itself, for which I've opened #57477
<{^_^}> https://github.com/NixOS/nixpkgs/issues/57477 (by Infinisil, 1 year ago, open): `nixos-rebuild --switch` too slow, tracking issue
<infinisil> My system evals take like 10-15 seconds
<energizer> iirc with flakes the evaluation is <1s
<infinisil> energizer: Measured on what?
<energizer> iirc nixos-rebuild build on somebody's desktop, lemme see if i can find the logs
<infinisil> I can imagine the eval caching helping a bunch
<colemickens> my flakes eval for a repeat eval is very, very fast
<gchristensen> hundreds of thousands of function calls aren't free, and avoidingthem is nice
<colemickens> and when I make small changes the rebuild feels faster. I also feel like the switch is the slow part now.
<infinisil> I think tmpfiles can be very slow
<gchristensen> SO slow.
<gchristensen> one of my machines can take literally hours to switch.
<infinisil> Oof
<samueldr> ?!?
<gchristensen> tmpfiles.d to clean up /tmp and a habit of making a lot of /tmp files with nix
<energizer> https://logs.nix.samueldr.com/nixos/2020-05-30#3536377; <manver*> with flakes my eval time is 0.177s :)
<samueldr> energizer: I read the backlog, I was wondering how tmpfiles could be "so slow"
<infinisil> gchristensen: I guess you could use the same zfs rollback trick for /tmp
<gchristensen> only if I want to reboot
<energizer> what does tmpfiles do?
clever has quit [Ping timeout: 272 seconds]
<infinisil> gchristensen: Should also work without it no? Just put a `zfs rollback` as an activationScript
<infinisil> Or systemd service even
<gchristensen> infinisil: I need to keep a bunchof stuff in there :)
<samueldr> /tmp considered harmful
<infinisil> Ah, and I guess tmpfiles is more granular than clearing everything
<energizer> doesn't seem necessary to delete stuff during rebuild/switch
<energizer> in /tmp
<gchristensen> I agree
<manveru> gchristensen: that ipxe stuff is really driving me insane... apparently it only works on a handful of instance types...
<gchristensen> ouch
<infinisil> Maybe it should be a systemd service that runs on a timer
<manveru> and i have no idea what they have in common
<manveru> i just tried every instance type in eu-central-1 (above 4GB ram and below 1USD/h)
<manveru> these work: `m4.large t2.large m3.large c4.xlarge d2.xlarge r3.large c3.large`
clever has joined #nixos-chat
clever has joined #nixos-chat
clever has quit [Changing host]
<manveru> i tried for the longest time with t3a or t3 and it never would do anything... not being able to connect to the network
<manveru> so i suspect that ipxe maybe doesn't have the right network drivers for some instances?
<manveru> no clue how to debug that though :P
<gchristensen> it is probably because ipxe is a barely capable implementation of a system and aws skips all the junky stuff and plops you in to a good kernel right away
<gchristensen> and so ipxe doesn't know what to do with Nitro
<manveru> what's nitro?
<gchristensen> direct hardware access through the virt https://aws.amazon.com/ec2/nitro/
<manveru> hmm
<manveru> that does indeed match the ones that don't work...
<gchristensen> this is the same reason ipxe can take 1 hour to download a 1GB file trough a 10g NIC
<gchristensen> it barely knows how to use the hardware
<manveru> i was probably lucky that i tried t2 for my first attempts... or i would've given up ages ago :P
<gchristensen> a more reliable thing could be convince clever to build not-os to fetch an image from your image store and use clever's kexec stuff to hop in to t
<manveru> hmh, yeah
<manveru> https://lists.ipxe.org/pipermail/ipxe-devel/2020-March/007002.html found a reference that confirms your idea :)
<clever> not-os would be faster to dl, compared to the thinest nixos netboot image
<clever> and then you have proper linux
<clever> there is also haskell-init
<clever> not-os is about 40mb of squashfs, haskell-init is about 2mb of elf and thats it
<manveru> at this point i'm really not sure anymore what to choose...
<gchristensen> could even teach nixops to do this :)
<clever> gchristensen: thats in my nixops ticket, having nixops generate a tiny image (netboot or ami) and then copy-closure into /mnt via that
<gchristensen> yeah
<gchristensen> though I'd prefer it use user-data to tell theimage what to boot, and have nixops not be involved in getting the proper system there
<manveru> jup
<manveru> i think we just need to fix the crappy user-data handling we have atm :)
<gchristensen> oh not even userdata
<gchristensen> erm, that
<gchristensen> I'd like nixops to upload some artifact, and then specify that artifact in metadata, and a shim boot up and fetch the closure based on that metadata and enter into that exact closure
<gchristensen> not some sort of NixOS configuration expression embedded in the userdata
<clever> gchristensen: my problem with that, is that i want nixops to pre-build things (because a lot will be shared within a cluster), and i dont want the 1st generation to be mis-aligned (different nixpkgs)
<gchristensen> yes, we're talking about the same thing
<gchristensen> except yours requires nixops in the loop, mine would allow for autoscaling groups
<clever> you could do it via a binary cache
<gchristensen> yeah
<gchristensen> exactly
<manveru> as long as you don't need private repos involved...
<clever> you could just upload the entire closure (secrets and all) to a cache, then just give the user-data a way to access it
<clever> manveru: it could be an s3://bucket based cache, that uses IAM instance data for privs
<manveru> yeah
<gchristensen> no secrets, KMS
<clever> gchristensen: secret source, private repos
<manveru> well, as long as it can run a vault agent, i can get what i need
<clever> gchristensen: the thin image could have 2 modes, this mode would format the disk, download a closure from cache->/mnt/ and fixup the bootloader
<clever> gchristensen: but my original plan, would ssh in, and copy a closure over ssh
<gchristensen> AH
<gchristensen> ah*
<manveru> just need a way to run arbitrary code from user-data and anything is possible...
<gchristensen> I don't want hacks :(
<manveru> i call it flexibility :)
<manveru> hack is what we have now
<manveru> i basically need to build a specific revision of nixFlakes and vault, retrieve a deploy key and maybe some certs, and nixos-rebuild a flake...
<manveru> really not sure how you'd generalize that
<manveru> so my previous solution was to make a configuration.nix with a systemd oneshot service that does just that from the user-data...
<ashkitten> aughh
<ashkitten> why does my usb host controller keep dying
<cole-h> I want to get an Ergodox soon-ish... Is there anything I need to be aware of?
__monty__ has quit [Quit: leaving]
slack1256 has joined #nixos-chat
<energizer> it's worth considering whether a cheaper programmable split keyboard meets your needs e.g. https://www.amazon.com/Koolertron-Programmable-Mechanical-Keyboard-Ergonomic/dp/B07PVJ1TJQ/
<energizer> cole-h ^
<cole-h> energizer: Why, exactly? Assuming money is no object.
<energizer> cole-h: because money is an object :)
c74d has joined #nixos-chat
<Ashy> i think the main thing to be aware of is you might not like it
<Ashy> i hated mine and sold it
<Ashy> back to a good old das keyboard
<cole-h> What exactly did you dislike?
<energizer> what features do you want in your keyboard cole-h?
<cole-h> Preferably QMK. Preferably ergonomic, because I'm planning on using a keyboard for the rest of my life. Preferably mechanical, because I'll probably be gaming on it as well.
<Ashy> couldn't get used to the thumb clusters (even though i love the idea of them)
<infinisil> Ashy: How long did you try?
<Ashy> also i swap between laptops and the desktop setup too often
<infinisil> I have an ergodox ez, I do use the thumb clusters, but only the main 2 keys, the others not at all
<Ashy> a few weeks
<Ashy> it did teach me to use my thumbs for alt and cmd though
<Ashy> and capslock is ctrl+esc as is correct
<infinisil> I think one can get used to pretty much anything with enough time :)
<Ashy> true, heh
* energizer wonders if keyboards will be around in 40 years
<infinisil> As an example, I'm now used to programmer dvorak with the odd number layout
<infinisil> From left to right: 7531902468
<cole-h> what
<cole-h> What is that cursed number row
<cole-h> Explain yourself
<Ashy> nice, i'm a normal dvorak user but i tell anyone who asks to not bother so long as they learn to touch type qwerty
<Ashy> looks like it's optimized for symbols rather than number ordering
<infinisil> Hehe, the creators thought it would be a good idea to put the most often used numbers near the index finger column
<infinisil> So 0, 1, 9, 2 are there
<infinisil> And odd even because who knows :P
<gchristensen> Ashy: I'm of the same opinion
<gchristensen> I switched when my hands hurt too too bad and I tried a bunch of stuff all at once. I don't really think qwerty helps
<gchristensen> dvorak*
<infinisil> I think it's really hard to compare. I was using querty (actually quertz) before too, but I couldn't tell if switching to dvorak helped
<infinisil> I feel like my fingers need to move less when writing english at least
<Ashy> gchristensen: yeah, i swapped to dvorak when i was in college and had the time to spend a month getting back up to speed
<Ashy> i wouldn't do it again even though it feels slightly faster and comfier
<bqv> I used programmer dvorak once
<bqv> It ruined vim for me
<bqv> Thats why I had to go back
<bqv> I also started to forget qwerty
<gchristensen> oh cool the minimal plasma ISO is 95.9% reproducible
<bqv> energizer: I hope so, unless something more accurate turns up. I wouldn't ditch a keyboard for more mice, but I would for something with more buttons
parsley936 has quit [Remote host closed the connection]
<energizer> gchristensen: are those stats reported somewhere?
<gchristensen> https://r13y.com/ for the minimal ISO
* infinisil has no problem with vim + dvorake
<infinisil> s/e$//
<Ashy> yeah same, i've done no remapping of vim - apart from hjkl none of the keys are really position based, they're mostly mnemonic
<gchristensen> https://gsc.io/content-addressed/392727093736f523714f9965f1d7c9a73647d17aea555709b566fc5c15890dcc.html is the report for the plasma image (even though the header says otherise)
<bqv> infinisil, Ashy: yeah, I'd kinda take issue with that. I made it work, for a while, but I was unhappy about it
<infinisil> I have no problem with hjkl either, they might even be better with dvorak
<infinisil> Well not better, but also very reasonably placed by coincidence
<Ashy> yeah fair enough, i'm so used to it now that i really struggle with vim in qwerty so maybe part of the muscle memory is positional rather than mnemonic
<bqv> I wonder how fast I could pick it back up