From b837f8ae41c13f20a9d613513f604f027371b481 Mon Sep 17 00:00:00 2001 From: Nikita Uvarov Date: Wed, 5 Dec 2018 11:38:14 +0100 Subject: [PATCH] i3: switch from attrs to attrsOf (cherry picked from commit c108eaba425cccf7512e02f173043ee2fb536f85) --- modules/services/window-managers/i3.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/services/window-managers/i3.nix b/modules/services/window-managers/i3.nix index 1d3fe0dc..db41774a 100644 --- a/modules/services/window-managers/i3.nix +++ b/modules/services/window-managers/i3.nix @@ -255,7 +255,7 @@ let }; }; - criteriaModule = types.attrs; + criteriaModule = types.attrsOf types.str; configModule = types.submodule { options = { @@ -411,7 +411,7 @@ let }; keybindings = mkOption { - type = types.attrs; + type = types.attrsOf types.str; default = { "${cfg.config.modifier}+Return" = "exec i3-sensible-terminal"; "${cfg.config.modifier}+Shift+q" = "kill"; @@ -486,7 +486,7 @@ let }; keycodebindings = mkOption { - type = types.attrs; + type = types.attrsOf types.str; default = {}; description = '' An attribute set that assigns keypress to an action using key code. @@ -571,7 +571,7 @@ let }; modes = mkOption { - type = types.attrsOf types.attrs; + type = types.attrsOf (types.attrsOf types.str); default = { resize = { "Left" = "resize shrink width 10 px or 10 ppt";