From 39bf1b0b54b5da2cd4967c483bc910586bdf42c2 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Fri, 23 Aug 2024 12:46:31 -0400 Subject: [PATCH] defaultApps: set xfce4 helpers.rc --- homeManagerModules/apps/thunar/default.nix | 6 ------ homeManagerModules/defaultApps.nix | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) 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;