From 095d24b79789eac3867ef58019069c9219329e83 Mon Sep 17 00:00:00 2001 From: LavaDesu Date: Sun, 23 Mar 2025 12:45:59 +1100 Subject: [PATCH] options: use types.str instead of types.string --- modules/options.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/options.nix b/modules/options.nix index c47f438..f255c99 100644 --- a/modules/options.nix +++ b/modules/options.nix @@ -21,12 +21,12 @@ in { }; batteryDevice = mkOption { - type = types.nullOr types.string; + type = with types; nullOr (uniq str); default = null; }; kbBacklightDevice = mkOption { - type = types.nullOr types.string; + type = with types; nullOr (uniq str); default = null; };