refactor(lib): simplify

This commit is contained in:
technofab 2024-11-24 17:19:17 +01:00
parent 97348a70ec
commit 5199b67122
2 changed files with 4 additions and 5 deletions

View file

@ -1,6 +1,6 @@
{ {
inputs,
lib, lib,
kubenix,
... ...
} @ attrs: } @ attrs:
with lib; rec { with lib; rec {
@ -60,7 +60,7 @@ with lib; rec {
inherit name project version description; inherit name project version description;
}; };
in in
(inputs.kubenix.evalModules.${system} { (kubenix.evalModules.${system} {
module = {kubenix, ...}: { module = {kubenix, ...}: {
imports = with kubenix.modules; [ imports = with kubenix.modules; [
k8s k8s

View file

@ -2,14 +2,13 @@
description = "Nixlets lib"; description = "Nixlets lib";
outputs = { outputs = {
self,
nixpkgs, nixpkgs,
kubenix, kubenix,
... ...
} @ inputs: }:
import ./. { import ./. {
inherit (nixpkgs) lib; inherit (nixpkgs) lib;
inherit inputs; inherit kubenix;
}; };
inputs = { inputs = {