feat(wget): Respect XDG spec

This commit is contained in:
punkfairie 2024-10-30 20:02:37 -07:00
parent 960166aad6
commit 5ddd6f8987

View file

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