mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 16:10:05 +01:00
fix: minor fixes
This commit is contained in:
parent
9f05cd56b1
commit
accd2dec1b
4 changed files with 5 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs ? import <nixpkgs> {}, lib ? pkgs.lib }:
|
||||
{ pkgs ? import <nixpkgs> {}, nixosPath ? toString <nixpkgs/nixos>, lib ? pkgs.lib }:
|
||||
|
||||
with lib;
|
||||
|
||||
|
|
@ -7,7 +7,7 @@ let
|
|||
lib' = lib.extend (lib: self: import ./lib/extra.nix { inherit lib pkgs; });
|
||||
|
||||
defaultSpecialArgs = {
|
||||
inherit kubenix;
|
||||
inherit kubenix nixosPath;
|
||||
};
|
||||
|
||||
# evalModules with same interface as lib.evalModules and kubenix as
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ dockerTools.buildLayeredImage {
|
|||
name = "nginx";
|
||||
contents = [ nginx ];
|
||||
extraCommands = ''
|
||||
mkdir etc
|
||||
mkdir -p etc
|
||||
chmod u+w etc
|
||||
echo "nginx:x:1000:1000::/:" > etc/passwd
|
||||
echo "nginx:x:1000:nginx" > etc/group
|
||||
|
|
|
|||
|
|
@ -235,6 +235,7 @@ in {
|
|||
|
||||
resources = mkOption {
|
||||
description = "Alias for `config.kubernetes.api.resources` options";
|
||||
default = {};
|
||||
};
|
||||
|
||||
customTypes = mkOption {
|
||||
|
|
|
|||
|
|
@ -49,6 +49,7 @@ in {
|
|||
extraCheckInputs = mkOption {
|
||||
description = "Extra check inputs";
|
||||
type = types.listOf types.package;
|
||||
default = [];
|
||||
};
|
||||
|
||||
testScript = mkOption {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue