diff --git a/home/wget/default.nix b/home/wget/default.nix index a56b0c9..7898c32 100644 --- a/home/wget/default.nix +++ b/home/wget/default.nix @@ -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"; + }; }