From 5756b833718d8b7bc8db378dd9dbebc52aa61220 Mon Sep 17 00:00:00 2001 From: Nathan Reiner Date: Tue, 17 Sep 2024 00:32:17 +0200 Subject: options.url: allow port specification --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 765c544..f7f3986 100644 --- a/flake.nix +++ b/flake.nix @@ -41,7 +41,7 @@ options = { url = lib.mkOption { description = "URL of the WebTray instance"; - type = lib.types.strMatching "https?://[a-z0-9.]*"; + type = lib.types.strMatching "http[s]?://[a-z0-9.]*:?[0-9]*"; }; autoStart = lib.mkOption { description = "WebTray Instances to start on login"; -- cgit v1.2.3-70-g09d2