From 3a5d27592edc146dfdce1a2891f89006d6a0543c Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Sat, 13 Apr 2024 00:28:35 +0200 Subject: [PATCH] Add wget xdg base dir alias --- home/programs/xdg/config-files.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home/programs/xdg/config-files.nix b/home/programs/xdg/config-files.nix index f94033d..9327d83 100644 --- a/home/programs/xdg/config-files.nix +++ b/home/programs/xdg/config-files.nix @@ -87,4 +87,10 @@ in { atexit.register(partial(write_history, readline, history_file)) ''; }; + + # Set the following aliases to force applications to use a config file + # in the proper XDG location + environment.shellAliases = { + wget = "wget --hsts-file='\${XDG_DATA_HOME}/wget-hsts'"; + }; }