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