feat(nix): move Nix configuration to root level

This commit is contained in:
Stefan Imhoff
2024-07-31 12:46:55 +02:00
parent ec67a98313
commit c5be8e73b6
224 changed files with 62 additions and 67 deletions

8
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

9
home/curl/default.nix Normal file
View File

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