about summary refs log tree commit diff
path: root/nix/devel.nix
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-11-07 13:47:02 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-11-07 20:17:10 +0700
commit557705fc88fc0405d8f79bb15cbf0679e168cf6c (patch)
tree69dcb97176f0e6d1b26554963239dca33a41f75b /nix/devel.nix
parentb078705298d983396fff6b673f3b7f93c5bac471 (diff)
downloaddotfiles-557705fc88fc0405d8f79bb15cbf0679e168cf6c.tar.gz
Migrate NixOS to tmpfs+btrfs
Diffstat (limited to 'nix/devel.nix')
-rw-r--r--nix/devel.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/nix/devel.nix b/nix/devel.nix
index ebd4da7..11d0509 100644
--- a/nix/devel.nix
+++ b/nix/devel.nix
@@ -17,8 +17,11 @@
   services = {
     # openssh.enable = true;
     ipfs = {
-      enable = false;
-      dataDir = "/data/IPFS";
+      enable = true;
+      user = "sea";
+      dataDir = "/home/sea/.ipfs";
+      # autoMount = true;
+      localDiscovery = true;
     };
   };
 }