marleyos/home/wget/default.nix
punkfairie 9408679e81
🎨 style(fmt): Switch to nixfmt; add treesitter hints
Switch to nixfmt as when I was adding treesitter injected lang hints,
Alejandra was not formatting those comments in a way I liked. Turns out
I like the nixfmt style in general better.
2024-11-02 15:35:48 -07:00

21 lines
310 B
Nix

{
pkgs,
lib,
config,
...
}:
{
home.packages = with pkgs; [
wget
];
xdg.configFile."wgetrc" = {
enable = true;
source = ./wgetrc;
target = "wgetrc";
};
home.sessionVariables = lib.mkIf config.home.preferXdgDirectories {
WGETRC = "${config.xdg.configHome}/wgetrc";
};
}