From 2be571c78de23ee7f4f186d29e0f16053fd9bfb6 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Sat, 29 Oct 2022 00:59:30 +0900 Subject: Update for NixOS compatibility --- ipfs.nix | 2 +- vpsadminos.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ipfs.nix b/ipfs.nix index 9e81467..4a276ff 100644 --- a/ipfs.nix +++ b/ipfs.nix @@ -48,7 +48,7 @@ in { }; services = { - ipfs = { + kubo = { autoMount = true; dataDir = "/mnt/nas/ipfs"; enable = true; diff --git a/vpsadminos.nix b/vpsadminos.nix index 109a40b..0a7189b 100644 --- a/vpsadminos.nix +++ b/vpsadminos.nix @@ -38,7 +38,7 @@ in { before = [ "network.target" ]; wantedBy = [ "network.target" ]; after = [ "network-pre.target" ]; - path = [ pkgs.iproute ]; + path = [ pkgs.iproute2 ]; serviceConfig = { Type = "oneshot"; RemainAfterExit = true; -- cgit 1.4.1