change position types from positive to int
This commit is contained in:
parent
597302be5c
commit
5a536d295a
1 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
|||
cfg = config.myOptions.other.hardware;
|
||||
|
||||
inherit (lib) mkIf mkOption;
|
||||
inherit (lib.types) attrsOf float submodule;
|
||||
inherit (lib.types) attrsOf float int submodule;
|
||||
inherit (lib.types.ints) positive;
|
||||
inherit (lib.attrsets) mapAttrsToList;
|
||||
in {
|
||||
|
@ -37,10 +37,10 @@ in {
|
|||
type = submodule {
|
||||
options = {
|
||||
x = mkOption {
|
||||
type = positive;
|
||||
type = int;
|
||||
};
|
||||
y = mkOption {
|
||||
type = positive;
|
||||
type = int;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue