diff --git a/modules/services/window-managers/i3-sway/i3.nix b/modules/services/window-managers/i3-sway/i3.nix index b9d0c83c8..202a97978 100644 --- a/modules/services/window-managers/i3-sway/i3.nix +++ b/modules/services/window-managers/i3-sway/i3.nix @@ -101,10 +101,8 @@ let ''; example = literalExample '' let - modifier = xsession.windowManager.i3.config.modifier; - in - - lib.mkOptionDefault { + modifier = config.xsession.windowManager.i3.config.modifier; + in lib.mkOptionDefault { "''${modifier}+Return" = "exec i3-sensible-terminal"; "''${modifier}+Shift+q" = "kill"; "''${modifier}+d" = "exec \${pkgs.dmenu}/bin/dmenu_run";