From 929f6ca3bc59b42f98ba3021b46edcabc201315d Mon Sep 17 00:00:00 2001 From: Ching Pei Yang Date: Sun, 10 Nov 2024 23:40:23 +0100 Subject: [PATCH 1/2] lazy: remove redundant submodule --- modules/wrapper/lazy/lazy.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/wrapper/lazy/lazy.nix b/modules/wrapper/lazy/lazy.nix index 7ea943e..2bbda27 100644 --- a/modules/wrapper/lazy/lazy.nix +++ b/modules/wrapper/lazy/lazy.nix @@ -62,7 +62,7 @@ }; setupOpts = mkOption { - type = submodule {freeformType = attrsOf anything;}; + type = attrsOf anything; description = "Options to pass to the setup function"; default = {}; }; From 0b2fa2e38aa1cdc73348771aa0c3f64b1129af44 Mon Sep 17 00:00:00 2001 From: Ching Pei Yang Date: Sun, 10 Nov 2024 23:57:00 +0100 Subject: [PATCH 2/2] lazy: remove defaults for keys --- modules/wrapper/lazy/lazy.nix | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/wrapper/lazy/lazy.nix b/modules/wrapper/lazy/lazy.nix index 2bbda27..c51b3f3 100644 --- a/modules/wrapper/lazy/lazy.nix +++ b/modules/wrapper/lazy/lazy.nix @@ -36,7 +36,6 @@ mode = mkOption { description = "Modes to bind in"; type = either str (listOf str); - default = ["n" "x" "s" "o"]; }; silent = mkBool true "Whether this mapping should be silent. Equivalent to adding to a map.";