!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

907 Members
Declaratively manage your switching, routing, wireless, tunneling and more.270 Servers

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


SenderMessageTime
29 Jul 2025
@emilazy:matrix.orgemily if I clear my backlog for today I'm going to diff the closure of make-initrd{,-ng} 20:04:56
@emilazy:matrix.orgemilyand my rampage will begin :P20:05:02
@marcel:envs.net@marcel:envs.netno pressure - when ifstate releases i will just create an PR without initrd support and keep that initrd stuff localy untill we've figured something out20:08:17
@marcel:envs.net@marcel:envs.net
In reply to @elvishjerricco:matrix.org

Marcel: yea if you want to do closureinfo stuff to get full closures into systemd initrd I was thinking of something like this:

{
  boot.initrd.systemd.storePaths = [
    (runCommand "x"
      {
        info = closureInfo { rootPaths = [ hello ]; };
      }
      ''
        mkdir $out
        cat "$info"/store-paths | while read path; do
          ln -s "$path" "$out/$(basename "$path")"
        done
      ''
    )
  ];
}
thx
20:16:15
30 Jul 2025
@yan:we2.eeyan 💕 joined the room.01:42:17
@sandro:supersandro.deSandro 🐧re: ifstate: speaks something against static compilation?18:34:31

Show newer messages


Back to Room ListRoom Version: 6