diff --git a/nix/pkgs/default.nix b/nix/pkgs/default.nix index 6aee49f..98a8206 100644 --- a/nix/pkgs/default.nix +++ b/nix/pkgs/default.nix @@ -68,6 +68,14 @@ let ) ); + all-rootfs = with pkgs; + runCommand "all-rootfs" {} '' + mkdir -p $out + ${lib.concatMapStrings (pkg: '' + ln -s ${pkg} $out/${pkg.name} + '') (builtins.attrValues rootfs-packages)} + ''; + device-templates = import ./device-templates.nix { inherit self nixpkgs system; }; @@ -85,7 +93,7 @@ let }; in rootfs-packages // vm-packages // device-templates // network-graphs // starlink // subnetplans // { - inherit export-openwrt-models export-config dns-slaves + inherit all-rootfs export-openwrt-models export-config dns-slaves encrypt-secrets decrypt-secrets switch-to-production ; }