diff --git a/nix/hm-module.nix b/nix/hm-module.nix index 89f6ca1..a1e04ce 100644 --- a/nix/hm-module.nix +++ b/nix/hm-module.nix @@ -48,10 +48,10 @@ in }; keymaps = lib.mkOption { - type = lib.types.attrsOf (lib.types.submodule { + type = lib.types.listOf (lib.types.submodule { options = { modes = lib.mkOption { - type = lib.types.enum [ "n" "i" "x" "v" "o" "r" ]; + type = lib.listOf (lib.types.enum [ "n" "i" "x" "v" "o" "r" ]); default = []; description = "The editing modes this keymap can be used in"; };