mirror of
https://github.com/TECHNOFAB11/kubenix.git
synced 2025-12-12 16:10:05 +01:00
fix(lib): mkSecretOption, fix defaults
This commit is contained in:
parent
dcbb4ce2bb
commit
3ad7f6f8e6
2 changed files with 4 additions and 3 deletions
2
lib.nix
2
lib.nix
|
|
@ -68,7 +68,5 @@ rec {
|
|||
inherit (value) name key;
|
||||
};
|
||||
};
|
||||
|
||||
default = null;
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,10 @@ with lib;
|
|||
|
||||
password = mkSecretOption {
|
||||
description = "Nginx simple auth credentials";
|
||||
default = null;
|
||||
default = {
|
||||
key = "test";
|
||||
name = "test";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue