From 1fed7cc513b578e0531c9d53667b7f562a2af1c9 Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Fri, 5 Apr 2024 00:10:27 +0200 Subject: [PATCH] Set XDG_BIN_HOME --- home/programs/xdg/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/home/programs/xdg/default.nix b/home/programs/xdg/default.nix index d3d983a..fd67cbc 100644 --- a/home/programs/xdg/default.nix +++ b/home/programs/xdg/default.nix @@ -12,9 +12,11 @@ stateHome = "${config.home.homeDirectory}/.local/state"; }; - # Set XDG_RUNTIME_DIR manually (not supported via xdg configuration) + # These are not supported via xdg configuration, set them manually + # Defined in /etc/profiles/per-user/$USER/etc/profile.d/hm-session-vars.sh home.sessionVariables = { "XDG_RUNTIME_DIR" = "/run/user/$UID"; + "XDG_BIN_HOME" = "${config.home.homeDirectory}/.local/bin"; }; # xdg-ninja is a CLI tool that checks $HOME for unwanted