✨ feat(wget): Respect XDG spec
This commit is contained in:
parent
29188a5df3
commit
1b9ac0615f
1 changed files with 10 additions and 1 deletions
|
@ -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";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue