!dGrjXvKnCwVLevgmzo:matrix.org

Stockholm NixOS meetup group

47 Members
Monthly meetups in Stockholm, Sweden around Nix releated topics(nixos.org)12 Servers

Load older messages


SenderMessageTime
30 Aug 2025
@claesatwork:matrix.orgClaesI published my secrets management module here : https://github.com/claes/hemlis13:25:39
1 Sep 2025
@lillecarl:matrix.orgLilleCarl (Salsa9) Nice Claes! I'll have a look later tonight 15:12:58
@lillecarl:matrix.orgLilleCarl (Salsa9)I've got a thing to share which I thought can be quite useful. The nix.db database contains a field called "registrationTime" which nix-collect-garbage --delete-older-than Xd uses. I(Claude) wrote a little Python script to "touch" all dependencies (optionally including build dependencies) in the database so that recently built things don't get garbage collected if you run with the age options https://gist.github.com/Lillecarl/a08759fdc8f264eb237e46fd0ef16c40 <- I just tested that it does what I want it to-ish so don't go break your DB with this :p Something something --dry-run and --info also needs sudo because something something sqlite WAL needs write access even when only reading (?). I might just tmpclone the db for read ops 😄 The reason I made this is to make garbage collection more dynamic for the Nix CSI driver i've been spamming about.15:18:35
@claesatwork:matrix.orgClaesI forgot if it is possible but I would like combine the age limit with a generation limit. Something like gc everything older than 7 days but keep at least 5 generations16:46:43
@b:chreekat.netchreekatThere's https://search.nixos.org/options?channel=25.05&show=boot.loader.grub.configurationLimit&query=grub. but it's a maximum, not a minimum :/17:21:52
@lillecarl:matrix.orgLilleCarl (Salsa9)The nix sqlite database is really simple. Once I'm done cursing over replacing hardlinks with bind-mounts (hopefully) this'll be a good project19:57:57
@lillecarl:matrix.orgLilleCarl (Salsa9)The GC could do with a bit more "intelligence". The current one is honestly dumb as WORDS19:58:17
2 Sep 2025
@talyz:matrix.orgtalyzAre any of you coming to nixcon? :)14:21:03
@claesatwork:matrix.orgClaesnot me14:32:04
@markuskowa:matrix.orgmarkuskowaI have to skip this year unfortunately. 14:50:00
14 Sep 2025
@emma:rory.gayEmma [it/its] joined the room.08:39:46
@soispha:vhack.euBenedikt joined the room.17:36:41
16 Sep 2025
@lillecarl:matrix.orgLilleCarl (Salsa9) markuskowa: I notice you haven't scheduled a next meetup ;) 16:03:36
@markuskowa:matrix.orgmarkuskowa
In reply to @lillecarl:matrix.org
markuskowa: I notice you haven't scheduled a next meetup ;)
You got me 🫠. It was quite busy. What about Tuesday 30th of September?
16:08:11
@lillecarl:matrix.orgLilleCarl (Salsa9)Sounds good to me! 😁 16:11:59
@lillecarl:matrix.orgLilleCarl (Salsa9) markuskowa: Last one was a Wednesday, I can't remember if we have some preference previously, cast a vote! 😄 17:26:06
@markuskowa:matrix.orgmarkuskowaWe were alternating between Tuesday and Wednesday to make it the decision easier. 18:15:49

There are no newer messages yet.


Back to Room ListRoom Version: 10