From 0269d712f9863d8138135261641a1d801523f8f5 Mon Sep 17 00:00:00 2001 From: Charlie Root Date: Sun, 22 Sep 2024 00:17:58 +0200 Subject: [PATCH] xdg: add XDG_CACHE_HOME sessionVariable --- modules/other/xdg.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/other/xdg.nix b/modules/other/xdg.nix index 4219b89..b53e1c4 100644 --- a/modules/other/xdg.nix +++ b/modules/other/xdg.nix @@ -10,7 +10,10 @@ text_editor = "helix.desktop"; terminal = "foot.desktop"; in { - environment.sessionVariables = {TERMINAL = "${terminal}";}; + environment.sessionVariables = { + TERMINAL = "${terminal}"; + XDG_CACHE_HOME = hmCfg.xdg.cacheHome; + }; home-manager.users.${username} = { xdg = {