!dGrjXvKnCwVLevgmzo:matrix.org

Stockholm NixOS meetup group

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

You have reached the beginning of time (for this room).


SenderMessageTime
29 Aug 2025
@claesatwork:matrix.orgClaes
In reply to @lillecarl:matrix.org
The part where we hardlink from the source store to a new "fake store" is where it's unique, just sharing a global /nix with all pods on the host would work, but definitely not for "production" since any application in the cluster could read any other application in the clusters code by travesting the store.

ok this part I misunderstood first

will need more time to look through but definitely innovative!

10:07:13
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 Nice Claes! I'll have a look later tonight 15:12:58
@lillecarl:matrix.orglillecarlI'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.orglillecarlThe 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.orglillecarlThe 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 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.orglillecarlSounds good to me! 😁 16:11:59
@lillecarl:matrix.orglillecarlRedacted or Malformed Event17:26:06

Show newer messages


Back to Room ListRoom Version: 10