✨ feat(curl): Add curl
This commit is contained in:
parent
f2588f581a
commit
0232c52b00
3 changed files with 23 additions and 0 deletions
11
home/curl/.curlrc
Normal file
11
home/curl/.curlrc
Normal 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
11
home/curl/default.nix
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
curl
|
||||||
|
];
|
||||||
|
|
||||||
|
xdg.configFile.".curlrc" = {
|
||||||
|
enable = true;
|
||||||
|
source = ./.curlrc;
|
||||||
|
target = ".curlrc";
|
||||||
|
};
|
||||||
|
}
|
|
@ -27,6 +27,7 @@
|
||||||
./bat
|
./bat
|
||||||
./btop
|
./btop
|
||||||
./cava
|
./cava
|
||||||
|
./curl
|
||||||
./gh
|
./gh
|
||||||
./wget
|
./wget
|
||||||
./xdg
|
./xdg
|
||||||
|
|
Loading…
Reference in a new issue