diff --git a/homeManagerModules/apps/thunar/default.nix b/homeManagerModules/apps/thunar/default.nix index f916acba..1f83f4e4 100644 --- a/homeManagerModules/apps/thunar/default.nix +++ b/homeManagerModules/apps/thunar/default.nix @@ -14,11 +14,5 @@ xfce.tumbler xfce.xfconf ]; - - xdg.configFile."xfce4/helpers.rc".text = '' - FileManager=thunar - TerminalEmulator=kitty - WebBrowser=firefox - ''; }; } diff --git a/homeManagerModules/defaultApps.nix b/homeManagerModules/defaultApps.nix index 3e5e6e7b..b22c9a57 100644 --- a/homeManagerModules/defaultApps.nix +++ b/homeManagerModules/defaultApps.nix @@ -36,6 +36,12 @@ in { }; xdg = { + configFile."xfce4/helpers.rc".text = '' + FileManager=${builtins.baseNameOf (lib.getExe cfg.fileManager)} + TerminalEmulator=${builtins.baseNameOf (lib.getExe cfg.terminal)} + WebBrowser=${builtins.baseNameOf (lib.getExe cfg.webBrowser)} + ''; + mimeApps = { enable = true;