From 5a536d295a2a90b7100f0b9fcaf70af12a853b37 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Thu, 9 May 2024 18:22:19 +0200 Subject: [PATCH] change position types from positive to int --- modules/other/hardware.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; }; }; };