From d3179174530c0c42fe0b3331341b8285e89bcfe2 Mon Sep 17 00:00:00 2001 From: James Eversole Date: Fri, 12 Apr 2024 10:21:46 -0500 Subject: [PATCH] Flake update; block Hacker News DNS; update Transmision VPN configuration --- flake.lock | 30 +++++++++++++++--------------- nix/system/dns.nix | 6 ++++++ secrets/transmission-env.age | Bin 646 -> 579 bytes 3 files changed, 21 insertions(+), 15 deletions(-) diff --git a/flake.lock b/flake.lock index 412e03c..94428be 100644 --- a/flake.lock +++ b/flake.lock @@ -10,11 +10,11 @@ "systems": "systems" }, "locked": { - "lastModified": 1703433843, - "narHash": "sha256-nmtA4KqFboWxxoOAA6Y1okHbZh+HsXaMPFkYHsoDRDw=", + "lastModified": 1712079060, + "narHash": "sha256-/JdiT9t+zzjChc5qQiF+jhrVhRt8figYH29rZO7pFe4=", "owner": "ryantm", "repo": "agenix", - "rev": "417caa847f9383e111d1397039c9d4337d024bf0", + "rev": "1381a759b205dff7a6818733118d02253340fd5e", "type": "github" }, "original": { @@ -48,11 +48,11 @@ "utils": "utils" }, "locked": { - "lastModified": 1702912615, - "narHash": "sha256-qseX+/8drgwxOb1I3LKqBYMkmyeI5d5gmHqbZccR660=", + "lastModified": 1709402221, + "narHash": "sha256-+vJFz9Ed5hAliYptgbequvirE5wwTbRtvpx/bBH1HJw=", "owner": "aristanetworks", "repo": "nix-serve-ng", - "rev": "21e65cb4c62b5c9e3acc11c3c5e8197248fa46a4", + "rev": "4a101296b73dce8c8e248980890af1c7a66c6737", "type": "github" }, "original": { @@ -63,11 +63,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1705916986, - "narHash": "sha256-iBpfltu6QvN4xMpen6jGGEb6jOqmmVQKUrXdOJ32u8w=", + "lastModified": 1712741485, + "narHash": "sha256-bCs0+MSTra80oXAsnM6Oq62WsirOIaijQ/BbUY59tR4=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "d7f206b723e42edb09d9d753020a84b3061a79d8", + "rev": "b2cf36f43f9ef2ded5711b30b1f393ac423d8f72", "type": "github" }, "original": { @@ -79,11 +79,11 @@ "nixpkgs-lib": { "locked": { "dir": "lib", - "lastModified": 1703961334, - "narHash": "sha256-M1mV/Cq+pgjk0rt6VxoyyD+O8cOUiai8t9Q6Yyq4noY=", + "lastModified": 1711703276, + "narHash": "sha256-iMUFArF0WCatKK6RzfUJknjem0H9m4KgorO/p3Dopkk=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "b0d36bd0a420ecee3bc916c91886caca87c894e9", + "rev": "d8fe5e6c92d0d190646fb9f1056741a229980089", "type": "github" }, "original": { @@ -99,11 +99,11 @@ "nixpkgs-lib": "nixpkgs-lib" }, "locked": { - "lastModified": 1704982712, - "narHash": "sha256-2Ptt+9h8dczgle2Oo6z5ni5rt/uLMG47UFTR1ry/wgg=", + "lastModified": 1712014858, + "narHash": "sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm+GpZNw=", "owner": "hercules-ci", "repo": "flake-parts", - "rev": "07f6395285469419cf9d078f59b5b49993198c00", + "rev": "9126214d0a59633752a136528f5f3b9aa8565b7d", "type": "github" }, "original": { diff --git a/nix/system/dns.nix b/nix/system/dns.nix index b113d37..fddbcd9 100644 --- a/nix/system/dns.nix +++ b/nix/system/dns.nix @@ -59,6 +59,12 @@ } } + *.ycombinator.com { + template IN A { + answer "{{ .Name }} 0 IN A 127.0.0.1" + } + } + wired.com { template IN A { answer "{{ .Name }} 0 IN A 127.0.0.1" diff --git a/secrets/transmission-env.age b/secrets/transmission-env.age index 53cc046a6a2ac256117079797a460e7087376f71..40114753f6d15239e854fff2f8c17d5e2b4552cb 100644 GIT binary patch delta 546 zcmV+-0^R+F1;Yf8EPrcycv5v!D|b?ONHZ{Za9DPAY(!L3PBTU;NHuLnT3Jt7QAxFllT>YkyF9G*ebqF?2RLF;P)h zdU$6;V`*z>OG{`?3UPLIVN-TlD^Eo)Nl-O7YE4CFWO8R#a!52wH+N`lX<;%?WJ_yn zRB~fQ3N0-yAVX6$Lsv&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