From 44c8acdffa4bdfafd5ab0bba59e09e4ad3fc4fa3 Mon Sep 17 00:00:00 2001 From: Pei Yang Ching <59727193+horriblename@users.noreply.github.com> Date: Thu, 27 Jun 2024 10:29:18 +0200 Subject: [PATCH] noice: allow null option --- modules/plugins/ui/noice/noice.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/plugins/ui/noice/noice.nix b/modules/plugins/ui/noice/noice.nix index 9f30d7c..0fb52cd 100644 --- a/modules/plugins/ui/noice/noice.nix +++ b/modules/plugins/ui/noice/noice.nix @@ -108,7 +108,8 @@ in { options = { view = mkOption { description = ""; - type = str; + type = nullOr str; + default = null; }; filter = mkOption { @@ -119,6 +120,7 @@ in { opts = mkOption { description = ""; type = nullOr anything; + default = null; }; }; });