summary refs log tree commit diff
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2023-01-14 15:41:37 +0200
committertzlil <tzlils@protonmail.com>2023-01-14 15:41:37 +0200
commit2c3d6183b298410dfeb7c482c85f8ec076fbfc3c (patch)
tree8c657d97590a0e50b2773f72e14f5f324e81bac2
parenta27a582ff6b21c40f06e78865f7343fa9ceb7549 (diff)
add /flake mount to vm config
-rw-r--r--hosts/vm/cfg.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/hosts/vm/cfg.nix b/hosts/vm/cfg.nix
index 7d81e43..2e8d45f 100644
--- a/hosts/vm/cfg.nix
+++ b/hosts/vm/cfg.nix
@@ -53,6 +53,11 @@
       "/boot" = {
         device = "/dev/disk/by-partlabel/boot";
       };
+      fileSystems."/flake" = {
+        fsType = "9p";
+        device = "host0";
+        options = ["_netdev"];
+      };
     };
 
     zramSwap = {