marleyos/home/programs/curl.nix
punkfairie ceb4bf3cde 🚚 refactor(home): Reorganize modules
Instead of having separate folders for each program with a default.nix
inside, moved modules into programs/services/xorg respectively. Xdg was
moved to the root home folder as it makes the most sense there.
2024-11-03 13:20:00 -08:00

26 lines
482 B
Nix

{ pkgs, ... }:
{
home.packages = with pkgs; [
curl
];
xdg.configFile.".curlrc" = {
enable = true;
target = ".curlrc";
text = # conf
''
# Limit the timeout in seconds.
connect-timeout = 60
# Follow HTTP redirects.
location
# Show error messages.
show-error
# Disguise as IE 9 on Windows 7.
user-agent = "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)"
'';
};
}