about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2022-10-29 00:59:30 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2022-10-29 00:59:30 +0900
commit2be571c78de23ee7f4f186d29e0f16053fd9bfb6 (patch)
treea29dfeb72767d1a002cdb7b86c5f0071a4dc46d4
parent0f1af9e312084d7d0e49c63e54b683b6d6ae22c7 (diff)
downloadnixos-conf-2be571c78de23ee7f4f186d29e0f16053fd9bfb6.tar.gz
Update for NixOS compatibility
-rw-r--r--ipfs.nix2
-rw-r--r--vpsadminos.nix2
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;