feat(wget): Respect XDG spec

This commit is contained in:
punkfairie 2024-10-30 20:02:37 -07:00
parent 29188a5df3
commit 1b9ac0615f
Signed by: punkfairie
GPG key ID: 01823C057725C266

View file

@ -1,4 +1,9 @@
{pkgs, ...}: { {
pkgs,
lib,
config,
...
}: {
home.packages = with pkgs; [ home.packages = with pkgs; [
wget wget
]; ];
@ -8,4 +13,8 @@
source = ./wgetrc; source = ./wgetrc;
target = "wgetrc"; target = "wgetrc";
}; };
home.sessionVariables = lib.mkIf config.home.preferXdgDirectories {
WGETRC = "${config.xdg.configHome}/wgetrc";
};
} }