cluster/services/ipfs: allow access to DNS servers

This commit is contained in:
Max Headroom 2023-04-12 23:25:55 +02:00
parent 346115d1a8
commit c5541eadb1

View file

@ -6,6 +6,7 @@ let
ipfsApi = pkgs.writeTextDir "api" apiAddress;
gw = config.links.ipfsGateway;
ipfsPort = 110;
nameservers = lib.unique config.networking.nameservers;
in
{
imports = [
@ -155,6 +156,7 @@ in
"fc00::/7"
"fe80::/10"
];
IPAddressAllow = nameservers;
};
postStart = "chmod 660 /run/ipfs/ipfs-api.sock";
};