✨ add badbits deny for ipfs gateway
This commit is contained in:
parent
ac19b5ab7b
commit
1e39527f5e
12
flake.lock
generated
12
flake.lock
generated
@ -1385,11 +1385,11 @@
|
||||
},
|
||||
"nixos-hardware": {
|
||||
"locked": {
|
||||
"lastModified": 1721331912,
|
||||
"narHash": "sha256-h2yaU+QEU4pHxMySHPIsRV2T/pihDHnrXBca8BY6xgc=",
|
||||
"lastModified": 1721412623,
|
||||
"narHash": "sha256-potgF+c/N3ovLXNlopLgBiAN/JEa8Y1G0B2lc2qVkBE=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixos-hardware",
|
||||
"rev": "bb90787ea034c8b9035dfcfc9b4dc23898d414be",
|
||||
"rev": "05672b50f70e47df282e974e07534d38df4f8fd1",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@ -1764,11 +1764,11 @@
|
||||
},
|
||||
"nixpkgs_8": {
|
||||
"locked": {
|
||||
"lastModified": 1721303309,
|
||||
"narHash": "sha256-/+Yw4tW/mcTRKmkEAO64ObzCQClpSUZpk2flUD9GDHE=",
|
||||
"lastModified": 1721373214,
|
||||
"narHash": "sha256-crpGeGQGFlnCsMyCE5eheyjzo3xo03o1FXJ2sAbm7No=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "7e2fb8e0eb807e139d42b05bf8e28da122396bed",
|
||||
"rev": "af9c15bc7a314c226d7d5d85e159f7a73e8d9fae",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
913231
modules/ipfs/badbits.deny
Normal file
913231
modules/ipfs/badbits.deny
Normal file
File diff suppressed because it is too large
Load Diff
@ -28,6 +28,10 @@ in
|
||||
|
||||
environment.systemPackages = with pkgs; [ ipfs-migrator ];
|
||||
|
||||
environment.etc = {
|
||||
"ipfs/denylists/badbits.deny".source = ./badbits.deny;
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [ 4001 ];
|
||||
allowedUDPPorts = [ 4001 ];
|
||||
|
Loading…
Reference in New Issue
Block a user