modules/hyprspace: use IPFS API
This commit is contained in:
parent
aa5d8c9721
commit
ab0e4adcaa
1 changed files with 5 additions and 1 deletions
|
@ -49,7 +49,11 @@ in {
|
||||||
|
|
||||||
chmod 0400 ${runConfig}
|
chmod 0400 ${runConfig}
|
||||||
'';
|
'';
|
||||||
environment.HYPRSPACE_SWARM_KEY = config.age.secrets.ipfs-swarm-key.path;
|
environment = {
|
||||||
|
HYPRSPACE_SWARM_KEY = config.age.secrets.ipfs-swarm-key.path;
|
||||||
|
} // (lib.optionalAttrs config.services.ipfs.enable {
|
||||||
|
HYPRSPACE_IPFS_API = config.services.ipfs.apiAddress;
|
||||||
|
});
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = "5s";
|
RestartSec = "5s";
|
||||||
|
|
Loading…
Reference in a new issue