about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2022-06-27 23:20:28 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2022-06-27 23:20:28 +0900
commitc6367fd2d431438c3cf9b27026b6c30fd4cf715e (patch)
tree1f53341afde6370b88b082cf29702602c8217e38
parent4d7b3a19578c3888f04159c88990106440866383 (diff)
downloadnixos-conf-c6367fd2d431438c3cf9b27026b6c30fd4cf715e.tar.gz
Mount NAS
-rw-r--r--configuration.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/configuration.nix b/configuration.nix
index 53d9cec..fafb545 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -23,6 +23,12 @@
     systemPackages = with pkgs; [ git htop rsync vim ];
   };
 
+  fileSystems."/mnt/nas" = {
+    device = "172.16.129.228:/nas/4905";
+    options = [ "nfsvers=3" ];
+    fsType = "nfs";
+  };
+
   imports = [
     ./ipfs.nix
     ./matrix.nix