diff --git a/modules/services/window-managers/i3-sway/lib/options.nix b/modules/services/window-managers/i3-sway/lib/options.nix index 650b42c5b..d669f7666 100644 --- a/modules/services/window-managers/i3-sway/lib/options.nix +++ b/modules/services/window-managers/i3-sway/lib/options.nix @@ -469,12 +469,11 @@ in { }; modifier = mkOption { - type = - types.enum [ "Shift" "Control" "Mod1" "Mod2" "Mod3" "Mod4" "Mod5" ]; + type = types.str; default = cfg.config.modifier; defaultText = "${moduleName}.config.modifier"; description = - "Modifier key that can be used to drag floating windows."; + "Modifier key or keys that can be used to drag floating windows."; example = "Mod4"; };