!tCyGickeVqkHsYjWnh:nixos.org

NixOS Networking

903 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
@elvishjerricco:matrix.orgElvishJerricco no, makeInitrd just does plain ole closures 18:05:41
@elvishjerricco:matrix.orgElvishJerricco it's the extraUtils derivation that does the screwing with binaries so the closure is small 18:05:58
@emilazy:matrix.orgemilyah18:07:49
@marcel:envs.net@marcel:envs.net

Is this a crime?

storePaths =
            let
              closure = pkgs.closureInfo { rootPaths = [ initrdCfg.package ]; };
              closurePaths = lib.filter (path: path != "") (lib.splitString "\n" (builtins.readFile "${closure}/store-paths")) ;
            in
            closurePaths ++
            [
              config.environment.etc."ifstate/config.initrd.yml".source
            ];

now i only have to work on reducing the closure size.

19:57:37
@marcel:envs.net@marcel:envs.net *

Is this a crime?

storePaths =
  let
    closure = pkgs.closureInfo { rootPaths = [ initrdCfg.package ]; };
    closurePaths = lib.filter (path: path != "") (lib.splitString "\n" (builtins.readFile "${closure}/store-paths")) ;
  in
  closurePaths ++
  [
    config.environment.etc."ifstate/config.initrd.yml".source
  ];

now i only have to work on reducing the closure size.

19:58:08
@emilazy:matrix.orgemilyIFD19:58:51

Show newer messages


Back to Room ListRoom Version: 6