From dd818dd13a50277eb033fb0925e474af66bcfc22 Mon Sep 17 00:00:00 2001 From: Paul Zinselmeyer Date: Wed, 28 Aug 2024 22:58:04 +0200 Subject: [PATCH] module change --- module.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/module.nix b/module.nix index 4c80b9e..017b995 100644 --- a/module.nix +++ b/module.nix @@ -6,7 +6,10 @@ in options = { services.thekenlicht-daemon = { enable = lib.mkEnableOption "Enable Module"; - serialPort = lib.mkStringOption "Serial Port"; + serialPort = lib.mkOption { + description = "Serial Port"; + type = lib.types.uniq lib.types.str; + }; }; };