mirror of
https://gitlab.com/TECHNOFAB/nixlets.git
synced 2025-12-12 01:50:05 +01:00
refactor(lib): simplify
This commit is contained in:
parent
97348a70ec
commit
5199b67122
2 changed files with 4 additions and 5 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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 = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue