initial commit
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
commit
0078a09395
10 changed files with 1859 additions and 0 deletions
8
lib/generators/talos.nix
Normal file
8
lib/generators/talos.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{lib, ...}: pkgs: content:
|
||||
pkgs.runCommand "talos-manifests" {} ''
|
||||
mkdir -p $out/talos
|
||||
${lib.concatStringsSep "\n" (lib.mapAttrsToList (name: attrs: ''
|
||||
cp ${(pkgs.formats.yaml {}).generate name attrs} $out/talos/${name}
|
||||
'')
|
||||
content)}
|
||||
''
|
||||
Loading…
Add table
Add a link
Reference in a new issue