gchristensen changed the topic of #nixos-chat to: NixOS but much less topical || https://logs.nix.samueldr.com/nixos-chat
drakonis1 has quit [Quit: WeeChat 2.6]
<evanjs> Re https://myme.no/posts/2020-01-26-nixos-for-development.html - “... I have yet to start using lorri myself...”. But it will solve all the problems you just listed 😯
<evanjs> Under “The single Emacs process conundrum”
<evanjs> Aweee no double storage size for free plans. https://blog.cachix.org/post/2020-01-28-cdn-and-double-storage/. Meh. I don’t have things auto uploading yet, anyway
<infinisil> evanjs: I wish cachix had a more flexible payment plan, like bandcamp does
<infinisil> Currently I'm in no need of a private cache, but I'd still pay a bit every month even for a public one
<infinisil> The price for everything should only be a minimum
<infinisil> So public caches are "0 or more"
<gchristensen> hrm hetznerseems to be downish :(
<evanjs> infinisil: “I pay you $1 for 1TB because I said so” 😝
<infinisil> Well public caches are limited to 10GB, so that won't work
<infinisil> Ah wait
<infinisil> Public free is limited to 10GB
<gchristensen> is https://accounts.hetzner.com/login buggered for y'all?
<infinisil> But the cachix page is a bit confusing, as it lets you choose "public cache" or "private cache", where you pay for the private one, yet you can also get public caches thereafter
drakonis1 has joined #nixos-chat
<evanjs> ah wait so is nixpkgs-review esentially crater for nixpkgs? https://github.com/rust-lang/crater
andi- has quit [Remote host closed the connection]
andi- has joined #nixos-chat
drakonis1 has quit [Quit: WeeChat 2.6]
buckley310 has quit [Quit: The Lounge - https://thelounge.chat]
arianvp has joined #nixos-chat
buckley310 has joined #nixos-chat
<samueldr> I think the worst part of developing with nix, nixpkgs, nixos and mobile nixos, is how I'm filling my root fs, thus at some point a build will fail in an unpredictable fashion
<evanjs> samueldr: I literally added some things the other day for this on my laptop https://github.com/evanjs/nixos_cfg/blob/463e6267d88ee3fff1b98517615a2e02a19fb914/config/new-modules/profiles/desktop.nix#L41
<evanjs> Not pure but works when I forget to update my laptop for a while
<samueldr> hah, it's more about the fact that I'm making tons of system images and boot images during the span of a couple of weeks
<samueldr> including some nixpkgs testing
<samueldr> once cleaned, I have ~130GB available on that rootfs
<clever> samueldr: min-free based GC
lovesegfault has quit [Quit: WeeChat 2.7]
<DigitalKiwi> if i were a gc i would simply remove everything
<infinisil> "GC: Removing GC itself because it's trash, because it deletes itself"
<clever> that reminds me
<clever> i recently made a netboot style image, that compresses in ~1/3rd the time
<clever> down to ~30 seconds i think?
<clever> rather then put stage2 in a squashfs, then put the squashfs on the initrd, and have stage1 mount the squashfs and run stage2
<clever> i just made a custom initrd, with /init pointing directly to stage 2
<clever> who needs a rootfs!? :D
<clever> but i didnt setup restoring db.sqlite on boot, so the garbage collector will literally eat every single path in /nix/store/
<clever> nothing is flagged as valid, so it cant be a rooted
<samueldr> nom nom nom
<clever> also, the algo for garbage collection, nix will first iterate thru /nix/store, and delete any "invalid paths" (those not in the db), while collecting the remainder into a list
<clever> then it shuffles the list (so it wont bully a random path and re-delete it on each cycle)
<clever> then it deletes more things
<clever> and it can stop at any point due to --max-freed
<samueldr> :<
<samueldr> busybox's mount returns 0 when called with invalid arguments, but 255 with those same arguments but with -o remount
<pie_[bnc]> f*** what people do with integer values
<samueldr> my gripe here is that it only fails if you remount
<pie_[bnc]> DEFINE A FRIGGIN INTEGER ENUM AT LEAST WITH DEFINRED ERROR TYPES AND MAKE IT PART OF YOUR INTERFACE OH MY GOD
<pie_[bnc]> samueldr: yeah but consider my side rant
<samueldr> it *might* be the kernel failing in that case
<samueldr> like, maybe busybox is simply a messenger
<pie_[bnc]> hm that would make more sense. id still be frustrated.
<samueldr> [ 448.784299] c6 751 devpts: called with bogus options
<pie_[bnc]> still sucks
<samueldr> thank you kernel, but... I don't like this :/
lovesegfault has joined #nixos-chat
lovesegfault has quit [Quit: WeeChat 2.7]
Jackneill has joined #nixos-chat
<eyJhb> Feels like forever since I have been here
__monty__ has joined #nixos-chat
__Sander__ has joined #nixos-chat
psyanticy has joined #nixos-chat
<NinjaTrappeur> I regularly see some emojis in the nixos-* channels, which makes me wonder: do am I supposed to input those? Do you use a emoji-picker or is this embedded in your IRC client/terminal emulator?
<NinjaTrappeur> /do//g
<__monty__> kitty has a unicode input method built-in.
<gchristensen> when I use emojis, I used DDG to find it and then copy-paste
<__monty__> It's not super ergonomic but I don't mind a slight barrier to emoji use 😏
<__monty__> I keep doing that for the shrug smiley.
<__monty__> ¯\_(ツ)_/¯ <- the middle character
<__monty__> I don't know what that's called >.<
<gchristensen> whatever it is I sort of wish I could make it with the compose key and ")
<__monty__> That, sir, is an outstanding idea.
<__monty__> Wiki calls it "KATAKANA LETTER TU"
<infinisil> I use my emoji keyboard for that /s
<infinisil> The sarcasm part is that I'd use that keyboard, because i actually have one, but it's crap
<etu> Hey... I just got another ErgoDox... I could keep the old one around for emojis :p
<NinjaTrappeur> Well, at least knowing I'm not the only one copy-pasting emojis from the web makes me feel less stupid :)
* etu usually visit emojipedia and search there
<NinjaTrappeur> infinisil: makes me wonder whether I could create a emoji layer for my advantage 🤔
<NinjaTrappeur> etu: same :)
drakonis1 has joined #nixos-chat
<gchristensen> NinjaTrappeur: oh my word
<etu> NinjaTrappeur: Emoji layer for the ergodox you say
<NinjaTrappeur> you're in luck
<etu> :D
<etu> Yeah, my new board use qmk
<NinjaTrappeur> gchristensen: the advantage does not seem to handle high unicode characters for some reason.
<NinjaTrappeur> We're not l33t enough for emojis :(
<gchristensen> NinjaTrappeur: I'm not surprised, their firmware is probably not utf-8 clean lol
* etu will never buy a keyboard that doesn't have foss firmware again
<gchristensen> wow :)
<etu> That's part of my list of requirements for external keyboards. Not laptop ones ofc.
<joepie91> gchristensen: oof
<gchristensen> my office in my house *barely* got below 1,000ppm of CO2 after over 10 hours of nobody in it...
<gchristensen> (400-1,000 is considered "normal" for a house)
<joepie91> that's bad
<gchristensen> maybe I'm just a Strong Breather
<joepie91> I don't have a CO2 sensor at home yet, I should probably get one
<gchristensen> you probably shouldn't
<gchristensen> I didn't want to know this
<aanderse> its law here
<aanderse> have to have one on main floor and any floor people sleep on
<gchristensen> aanderse: I think that is usually just CO, not CO2?
<gchristensen> we have the same
<gchristensen> CO is much more dangerous, and starts being risky at just >35ppm
<aanderse> gchristensen: hmmm maybe... i could have misunderstood/recalled incorrectly, or been confused because i just bought what the FD told me to
<joepie91> aanderse: if it's the thing caused by incorrect burning of stuff (heating, stove, etc.) that's CO, not CO2
<gchristensen> aanderse: it is also a fire alarm, right?
<joepie91> and that's the thing that will kill quickly
<gchristensen> oh cool graph, joepie91
<joepie91> CO2 is not likely to kill, but it will start causing focus issues pretty early, and it can cause health issues
<gchristensen> I was looking last night for data on CO2 concentrations in houses over winter but I didn't find anything
<joepie91> (also it's very likely that CO2 is a problem in most schools, at least in NL)
<joepie91> (which is a little ironic)
<gchristensen> our winters are long and we try not to leave doors and windows open :P
<joepie91> gchristensen: we have lots of cool graphs! :D
<aanderse> oh, yes it is all coming back to me now...
<aanderse> yeah the one is required by law, the other is recommended by FD
<aanderse> at least that is what i recall
<joepie91> including "recent door unlocks" (though that is only visible from within the revspace network), departing trains, network traffic....
<joepie91> oh and a geiger counter
<joepie91> aanderse: your fire dept recommends a CO2 sensor? never heard that before
<aanderse> joepie91: they did some neighborhood outreaches and chatting with some of the people they highly recommended it
<aanderse> shrug
<joepie91> I mean, it's useful
<gchristensen> very interesting!
<joepie91> just surprised they're recommending it
<gchristensen> aanderse: how cold is it up there and how long are winters?
<aanderse> gchristensen: well the last polar bear attack was some time ago....
<aanderse> ;-)
<aanderse> ha ha ha
<gchristensen> hehe
<joepie91> gchristensen: if you're ever in NL, you've really got to drop by revspace! :P
<gchristensen> joepie91: I will make sure to next time I'm in the area! I've been just once now, but very much want to get back. I stayed in Amsterdam and am wishing I stayed more ... not Amsterdam :P
<joepie91> hehe
<joepie91> non-tourist NL is more fun
<gchristensen> my trip to Utrecht was very cool
<gchristensen> the most fun of the whole NL experience
<aanderse> gchristensen: it has been unseasonably "warm" here this year, the winter hasn't been that bad at all. currently 35.6 out
<gchristensen> wow
<gchristensen> oh cool it is also 35 out, here
<aanderse> a normal year i'd expect maybe closer to 14-23 about this time
<joepie91> gchristensen: also, "in the area"... I assume you mean all of NL, given how tiny it is :D
<aanderse> we usually have a really bad streak in january, but this year it wasn't so bad :)
* gchristensen jumped to Fahrenheit, btw, it is currently 1.6C
<gchristensen> anyone know of a program which can draw a box on top of my screen, be resizable but keep the aspect ratio, and leaves whatever underneath it interactable? (wayland / sway)
<aanderse> gchristensen: yes i'm aware you're american so i translated for you :p
<__monty__> Sounds like notifications kinda? I'm sure there's some for wayland?
<__monty__> aanderse: Please don't encourage a system of measurements that crashes space rockets, tyvm. ; )
<gchristensen> hehe I always interpret temps here to be in C
<__monty__> #alltempsinkelvin : >
<gchristensen> (but I knew 14-23 must be wrong, so I did assume it was F)
<aanderse> __monty__: yeah canada is a real mixed bag. we're supposed to use real measurement systems, but since our close proximity its a mixed bag
<aanderse> we use km and c
<aanderse> but inches and lbs
<aanderse> -_-
<gchristensen> wow
<gchristensen> aanderse: up until recently the US had 2 definitions of "mile"
<__monty__> And here I was thinking you didn't know what cold was, with your 35° temps : )
<__monty__> There's also still the nautical mile, right?
<gchristensen> (and 2 definitions of "foot")
<aanderse> gchristensen: yup, and it is all the fault of us being little cousins to you :p
<gchristensen> one "foot" was ​0.304800609601m, the other was 0.3048 m
<__monty__> I hope you dropped the former.
<gchristensen> yea
<__monty__> Or does it make conversions more accurate in some way?
<__monty__> Ah, good riddance.
drakonis1 has quit [Ping timeout: 265 seconds]
waleee-cl has joined #nixos-chat
__Sander__ has quit [Quit: Konversation terminated!]
<thefloweringash> NinjaTrappeur: if by advantage you mean the kinesis advantage v1, a friend of mine made a drop-in replacement hardware + firmware that I use on both my boards and would recommend.
<gchristensen> link??
<gchristensen> :o
<gchristensen> <3 <3 <3
<thefloweringash> It has a qt configuration UI, and even has an onboard virtual machine for running little programs
drakonis has joined #nixos-chat
<eyJhb> thefloweringash: what kind of small programs?
<NinjaTrappeur> thefloweringash: nice! I'm a bit confused though, is this just a matter of changing the original controller with an atmega hardware-wise or do you need some kind of adapter board?
<thefloweringash> The pinout doesn’t match you, so you need an adapter board
<NinjaTrappeur> right
<gchristensen> thefloweringash: oh *cool*
<NinjaTrappeur> Ah! Missed that schematic folder. Thanks!
<sphalerite> oh wow, I have never gc'd on this server
<Taneb> sphalerite: have you beaten my record?
<sphalerite> goes back all the way to the first generation of the system, from August 2017
<sphalerite> Taneb: probably no
<sphalerite> what was it again?
<Taneb> Around 800GB I think
endformationage has joined #nixos-chat
<sphalerite> lol nope, the nix store is less than 300GB
<sphalerite> on the one hand, I feel tempted to preserve that history
<sphalerite> on the other, it's useless
waleee-cl has quit [Quit: Connection closed for inactivity]
<sphalerite> I'm doing it
Jackneill has quit [Remote host closed the connection]
<sphalerite> Anyone know a way to see statistics on block device usage, particularly seeks?
* cransom has a flashback to undergrad in the computer lab and his partner, to indent all of the messy java that was just written, opens it up in emacs and proceeds to hit tab+down arrow a few hundred times.
ravndal has quit [Quit: WeeChat 2.7]
wildtrees has joined #nixos-chat
waleee-cl has joined #nixos-chat
<__monty__> Just noticed I'm in an irc channel where irc users are outnumbered by *gitter* users of all things, 2 to 1.
<__monty__> o.O
<etu> Woo, I added Scroll Lock to my new keymap to use that for Compose
<etu> Compose is a great key to have
<__monty__> I agree. That's why I emulate it on macOS using karabiner-elements.
<samueldr> I like treating it with respect, as if it was a normal modifier
<samueldr> my compose key is [altgr]+[rctrl] when both are pressed and released
<__monty__> Annoying in a terminal though P™ <- that prefix of the trademark symbol appears every time I press the key. (Not just a p there's some control characters involved.) If anyone can tell me why that'd be great.
<__monty__> samueldr: Hmm, the long chords are easier to type if I can press and release it imo.
<samueldr> hm?
<__monty__> Having to keep it down while using it like ctrl would be a hindrance.
<samueldr> if I type e.g. ™ I hold [altgr]+[rtcl] then release them, then press [t], then [m]
<__monty__> Oh, then what did you mean by "as if it was a normal modifier?"
<samueldr> "as a normal modifier" was more about the position on the keyboard, I see how it can be misleading
<__monty__> Ah.
<samueldr> I couldn't really use scroll lock as its position changes on each of the keyboards I use
<__monty__> My compose key is always among the right modifiers on the bottom row, that's why I was confused (right-cmd, currently).
<__monty__> I like the menu key if there is one. That's usually next to alt or space.
<samueldr> and laptop layouts often only have AltGr and RCTRL right of space
<samueldr> otherwise, Menu is a good choice
<__monty__> T400 had the menu key.
<__monty__> I don't really use the other right side modifier 😬
kraem has joined #nixos-chat
psyanticy has quit [Quit: Connection closed for inactivity]
worldofpeace has quit [*.net *.split]
arcnmx has quit [*.net *.split]
jtojnar has quit [*.net *.split]
cocreature has quit [*.net *.split]
<joepie91> gchristensen: oh no
<cransom> is that when hvac kicks in?
<gchristensen> this is in my home office, which is a decently sized room, and that is when I opened the door for a break
* samueldr cracks open a window
<gchristensen> no forced air HVAC here, all baseboard heat
cocreature has joined #nixos-chat
jtojnar has joined #nixos-chat
arcnmx has joined #nixos-chat
worldofpeace has joined #nixos-chat
<sphalerite> jeez, this gc has been running for 3 hours now
<worldofpeace> hmm, would a "NixOS 20.03 highlights" issue be worthwhile? I'd like to fill out the highlights section so no important mentions get omitted
<joepie91> ++
<samueldr> please do worldofpeace
<samueldr> and pin it?
<worldofpeace> samueldr: formatting wise, I was also going to add a different list in "Highlights" with just "notable upgrades"
<worldofpeace> yeah, for sure pinned
<samueldr> I don't think the release notes are rigidly set in stone, pretty sure we've evolved the format since I started looking :)
worldofpeace_ has joined #nixos-chat
worldofpeace_ has quit [Client Quit]
worldofpeace_ has joined #nixos-chat
worldofpeace_ has quit [Client Quit]
<gchristensen> I never should have gotten one of these. this is forbidden knowledge
<__monty__> gchristensen: Next up one of those power consumption meters.
<gchristensen> oh my goodness
<gchristensen> samueldr: oh no later on in the thread the m.2 to usb2
<samueldr> m.2 for raspi?
<gchristensen> yeahh
<worldofpeace> samueldr: this look pretty https://imgur.com/a/TGwrTQ9 ?
<gchristensen> woo nice
<samueldr> looks alright, yeah
worldofpeace has quit [*.net *.split]
arcnmx has quit [*.net *.split]
jtojnar has quit [*.net *.split]
cocreature has quit [*.net *.split]
<sphalerite> samueldr: wow, that was an adventure
<samueldr> foone's done a couple more, if you follow the links at the end
<sphalerite> yeah
jtojnar has joined #nixos-chat
cocreature has joined #nixos-chat
arcnmx has joined #nixos-chat
worldofpeace has joined #nixos-chat
<das_j> umm does anyone know how large the first eval of a channel is when fully built?
drakonis has quit [Quit: WeeChat 2.6]
wildtrees has quit [Remote host closed the connection]
<gchristensen> das_j: I'm not sure waht you're asking, or how first vs. second eval changes things, can you clarify?
wildtrees has joined #nixos-chat
<das_j> gchristensen: I just started a hydra job that evaluates and builds nixpkgs from master. what disk usage do I have to expect?
<gchristensen> ah
<gchristensen> I want to say like 80gb
<das_j> oh easy
<das_j> ajs124: Don't worry!
<gchristensen> don't hold me to that though, that number is out of date and a rough memory
<das_j> at least it's not like 400GB
<das_j> it's still busy evaluating :/
<das_j> gchristensen: How are build inputs sent to the hydra workers? Does it just do nix-copy-closure?
<gchristensen> this is much too on-topic for #nixos-chat. let's try #nixos
<das_j> whoops sorry
kraem has quit [Quit: outta here]
Jackneill has joined #nixos-chat
Jackneill has quit [Remote host closed the connection]
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #nixos-chat
drakonis has joined #nixos-chat
claudiii has joined #nixos-chat
__monty__ has quit [Quit: leaving]
<colemickens> standing desk, whole home power monitoring + home-assisatnt + prometheus + grafana, all working. woot.
<colemickens> Trying to logic-analyze the standing desk controller is kicking my butt though. I've got a good capture in PulseView but I have no idea how to make any sense of what I'm seeing. :(
<gchristensen> niiice
<gchristensen> can you tell me about the first two? :)
<colemickens> The desk? -- Feizbo standing desk frame on Amazon (was $100 when I got it). IKEA's Gerton for the desk top. I used threaded inserts on the desk, so hopefully it will remain study if I dis/re-assemble it. Got the PC mounted under the desk too and a monitor arm that is a TANK, it makes me feel things I didn't know a hunk of metal could cause. The desk and arm both go higher and lower than previously and my back is already
<colemickens> happier.
<gchristensen> lol nice
<colemickens> Whole home power monitoring - buy the kit from CircuitSetup.us, use the ESPHome configuration file from their GitHub, that gets data flowing to MQTT or Home Assisant.
<colemickens> And then I've got Home Assistant pumping metrics to Prom.
<colemickens> The HA stuff is all easy to show in my nix config if you're that curious :) Including the ESPHome configs since they're more or less declarativey-yaml too. I can recreate my RPi4 NixOS "brain" but also reflash all my devices with basically a single command too. ESPHome is a very slick little project.
wildtrees has quit [Ping timeout: 265 seconds]
wildtrees has joined #nixos-chat
wildtrees has quit [Max SendQ exceeded]
wildtrees has joined #nixos-chat
wildtrees has quit [Remote host closed the connection]
wildtrees has joined #nixos-chat