diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-07-21 16:13:08 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2022-07-21 16:13:08 +0900 |
commit | 3dea7ca5eccd6d35ad4fe7121534b1690ef57a7e (patch) | |
tree | 6dd48dda82c340b6ccbe6a19fcc0a92024499356 | |
parent | be878b0fa6cadf02d33e88e1ea4a5f6b44393a76 (diff) | |
download | nixos-conf-3dea7ca5eccd6d35ad4fe7121534b1690ef57a7e.tar.gz |
Adapt to changes
-rw-r--r-- | ipfs.nix | 4 | ||||
-rw-r--r-- | vpsadminos.nix | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/ipfs.nix b/ipfs.nix index 0de1e01..9e81467 100644 --- a/ipfs.nix +++ b/ipfs.nix @@ -55,7 +55,7 @@ in { enableGC = true; extraConfig.GateWay = { NoFetch = true; - PublicGateways.${domain} = { + PublicGateways."${domain}" = { Paths = [ "/ipfs" "/ipns" ]; UseSubdomains = true; }; @@ -83,6 +83,4 @@ in { }; }; }; - - systemd.services.ipfs.serviceConfig.ReadWritePaths = lib.mkForce [ ]; } diff --git a/vpsadminos.nix b/vpsadminos.nix index f03e488..109a40b 100644 --- a/vpsadminos.nix +++ b/vpsadminos.nix @@ -46,5 +46,6 @@ in { ExecStop = "${pkgs.bash}/bin/bash /ifcfg.del"; }; unitConfig.ConditionPathExists = "/ifcfg.add"; + restartIfChanged = false; }; } |