pkgs: add all-rootfs

This commit is contained in:
Astro 2021-11-18 20:41:06 +01:00
parent abb226bc5a
commit f3e8c5398d
1 changed files with 9 additions and 1 deletions

View File

@ -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
;
}