feat(curl): Add curl

This commit is contained in:
punkfairie 2024-10-26 20:31:39 -07:00
parent f2588f581a
commit 0232c52b00
Signed by: punkfairie
GPG key ID: 01823C057725C266
3 changed files with 23 additions and 0 deletions

11
home/curl/.curlrc Normal file
View file

@ -0,0 +1,11 @@
# 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)"

11
home/curl/default.nix Normal file
View file

@ -0,0 +1,11 @@
{pkgs, ...}: {
home.packages = with pkgs; [
curl
];
xdg.configFile.".curlrc" = {
enable = true;
source = ./.curlrc;
target = ".curlrc";
};
}

View file

@ -27,6 +27,7 @@
./bat ./bat
./btop ./btop
./cava ./cava
./curl
./gh ./gh
./wget ./wget
./xdg ./xdg