pkgs: add all-rootfs
This commit is contained in:
parent
abb226bc5a
commit
f3e8c5398d
|
@ -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 {
|
device-templates = import ./device-templates.nix {
|
||||||
inherit self nixpkgs system;
|
inherit self nixpkgs system;
|
||||||
};
|
};
|
||||||
|
@ -85,7 +93,7 @@ let
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
rootfs-packages // vm-packages // device-templates // network-graphs // starlink // subnetplans // {
|
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
|
encrypt-secrets decrypt-secrets switch-to-production
|
||||||
;
|
;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue