mirror of
https://gitlab.com/TECHNOFAB/nixlets.git
synced 2025-12-12 01:50:05 +01:00
feat: rewrite how nixlets work
This commit is contained in:
parent
ba81fba6b2
commit
0cde19e51f
36 changed files with 494 additions and 125 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{values, ...}: {
|
||||
{nixlet, ...}: {
|
||||
imports = [
|
||||
# import other files here
|
||||
];
|
||||
|
|
|
|||
6
template/nixlet.nix
Normal file
6
template/nixlet.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
name = "";
|
||||
version = "0.0.1";
|
||||
description = "";
|
||||
defaultProject = "";
|
||||
}
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue