From d806bd7f562e5553a5ae691f113223b761a2b6f7 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sat, 12 Oct 2024 11:57:38 -0400 Subject: [PATCH] use dynamic terminal for neovim based on rofi in linux --- modules/common/neovim/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/common/neovim/default.nix b/modules/common/neovim/default.nix index 67ff354..c04bf7c 100644 --- a/modules/common/neovim/default.nix +++ b/modules/common/neovim/default.nix @@ -52,7 +52,7 @@ in # (Requires launching the terminal and then executing Neovim) xdg.desktopEntries.nvim = lib.mkIf pkgs.stdenv.isLinux { name = "Neovim wrapper"; - exec = "kitty nvim %F"; + exec = "${config.home-manager.users.${config.user}.programs.rofi.terminal} nvim %F"; mimeType = [ "text/plain" "text/markdown"