feat(nix): migrate curl

This commit is contained in:
Stefan Imhoff
2024-07-13 12:06:03 +02:00
parent 6184c32ad4
commit 094de36957
4 changed files with 10 additions and 2 deletions

8
nix/home/curl/curlrc Normal file
View File

@@ -0,0 +1,8 @@
# Disguise as Googlebot
# user-agent = "Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
# When following a redirect, automatically set the previous URL as referer.
referer = ";auto"
# Wait 60 seconds before timing out.
connect-timeout = 60

View File

@@ -0,0 +1,9 @@
{ pkgs, ... }:
{
home.file = {
".curlrc" = { source = ./curlrc; };
};
home.packages = [ pkgs.curl ];
}

View File

@@ -11,6 +11,7 @@ in
./asdf
./bat
./ctags
./curl
./editorconfig
./gnupg
./hammerspoon