nixos/ipfs: run profile applications offline
This commit is contained in:
parent
81cb962c3e
commit
8f36abb528
@ -226,8 +226,8 @@ in {
|
||||
${optionalString (! cfg.localDiscovery) "--profile=server"}
|
||||
else
|
||||
${if cfg.localDiscovery
|
||||
then "ipfs config profile apply local-discovery"
|
||||
else "ipfs config profile apply server"
|
||||
then "ipfs --offline config profile apply local-discovery"
|
||||
else "ipfs --offline config profile apply server"
|
||||
}
|
||||
fi
|
||||
'' + optionalString cfg.autoMount ''
|
||||
|
Loading…
Reference in New Issue
Block a user