diff --git a/modules/other/hardware.nix b/modules/other/hardware.nix index e482c75..d5e3933 100644 --- a/modules/other/hardware.nix +++ b/modules/other/hardware.nix @@ -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; }; }; };