feat: rewrite how nixlets work

This commit is contained in:
TECHNOFAB 2024-05-08 17:09:17 +00:00
parent ba81fba6b2
commit 0cde19e51f
36 changed files with 494 additions and 125 deletions

View file

@ -1,4 +1,4 @@
{values, ...}: {
{nixlet, ...}: {
imports = [
# import other files here
];

6
template/nixlet.nix Normal file
View file

@ -0,0 +1,6 @@
{
name = "";
version = "0.0.1";
description = "";
defaultProject = "";
}

View file

@ -1,9 +1,12 @@
{
lib,
utils,
nixlet,
...
}:
with lib; {
with lib;
with utils;
with nixlet; {
# for some basic values see https://github.com/helm/examples/blob/4888ba8fb8180dd0c36d1e84c1fcafc6efd81532/charts/hello-world/values.yaml
options = {
# define values here