cluster/services/ipfs: use custom IPFS service module

This commit is contained in:
Max Headroom 2022-10-22 16:19:23 +02:00
parent 50995c75a2
commit 64cdf850b9

View file

@ -1,4 +1,4 @@
{ config, inputs, lib, pkgs, tools, ... }:
{ aspect, config, inputs, lib, pkgs, tools, ... }:
let
inherit (tools.meta) domain;
cfg = config.services.ipfs;
@ -8,6 +8,10 @@ let
ipfsPort = 110;
in
{
imports = [
aspect.modules.ipfs
];
age.secrets.ipfs-swarm-key = {
file = ../../../secrets/ipfs-swarm-key.age;
mode = "0400";