mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
ipfs: fixup
This commit is contained in:
parent
674988c828
commit
ebee9576a4
2 changed files with 5 additions and 8 deletions
|
@ -17,17 +17,15 @@ in
|
|||
serviceFdlimit = 65536;
|
||||
extraConfig = {
|
||||
AutoNAT.ServiceMode = "disabled"; # maybe "enabled" for servers?
|
||||
Reprovider.Strategy = "pinned";
|
||||
Routing.Type = "dhtclient"; # maybe "dht" for servers?
|
||||
Swarm.ConnMgr.HighWater = 1000;
|
||||
Swarm.ConnMgr.LowWater = 50;
|
||||
Swarm.DisableNatPortMap = true; # Disable UPnP
|
||||
|
||||
# ipfs-desktop defaults for ConnMgr
|
||||
Swarm.ConnMgr.GracePeriod = "1m";
|
||||
Swarm.ConnMgr.HighWater = 40;
|
||||
Swarm.ConnMgr.LowWater = 20;
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services.ipfs.postStart = ''
|
||||
chmod g+r /var/lib/ipfs/config
|
||||
'';
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
@ -21,7 +21,6 @@ in
|
|||
"video"
|
||||
"wheel"
|
||||
"wireshark"
|
||||
config.services.ipfs.group
|
||||
];
|
||||
openssh.authorizedKeys = { inherit keys; };
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue