diff --git a/modules/programs/info.nix b/modules/programs/info.nix index 65f1e3a0..3042331c 100644 --- a/modules/programs/info.nix +++ b/modules/programs/info.nix @@ -42,7 +42,7 @@ in enable = mkEnableOption "GNU Info"; homeInfoDirLocation = mkOption { - default = "$HOME/.cache/info"; + default = "\${XDG_CACHE_HOME:-$HOME/.cache}/info"; description = '' Directory in which to store the info dir file within your home.