📦 ipfs: adding my own gateway

This commit is contained in:
2021-10-30 23:33:26 -04:00
parent f744273d7c
commit 004d0f038e
6 changed files with 78 additions and 17 deletions

View File

@ -5,7 +5,7 @@
./hardware-configuration.nix
./rpi-poe.nix
../../modules/ipfs
../../modules/ipfs/cluster.nix
];
# Use the extlinux boot loader. (NixOS wants to enable GRUB by default)

View File

@ -13,6 +13,7 @@ in {
../../modules/code-server/nginx.nix
../../modules/gitea/nginx.nix
../../modules/home-assistant/nginx.nix
../../modules/ipfs/gateway.nix
../../modules/matrix/nginx.nix
];
@ -24,6 +25,7 @@ in {
networking.hostName = "socrates";
networking.firewall.allowPing = true;
networking.firewall.allowedTCPPorts = [ 80 443 ];
networking.firewall.trustedInterfaces = [ "tailscale0" ];
security.sudo.wheelNeedsPassword = false;