krebs types.uint: init
This commit is contained in:
parent
b5bdd9aed4
commit
6fcc35afb0
@ -154,6 +154,12 @@ types // rec {
|
||||
merge = mergeOneOption;
|
||||
};
|
||||
|
||||
uint = mkOptionType {
|
||||
name = "unsigned integer";
|
||||
check = x: isInt x && x >= 0;
|
||||
merge = mergeOneOption;
|
||||
};
|
||||
|
||||
secret-file = submodule ({ config, ... }: {
|
||||
options = {
|
||||
path = mkOption { type = str; };
|
||||
|
Loading…
Reference in New Issue
Block a user