summary refs log tree commit diff
path: root/hosts/vm
diff options
context:
space:
mode:
authortzlil <tzlils@protonmail.com>2022-12-13 02:15:50 +0200
committertzlil <tzlils@protonmail.com>2022-12-13 02:15:50 +0200
commit24637dfdfdd6dc8d116542f16a07d808c9e43c36 (patch)
tree369b5fb04e408604d481984b35aa02523217dbfd /hosts/vm
first commit
Diffstat (limited to 'hosts/vm')
-rw-r--r--hosts/vm/cfg.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/hosts/vm/cfg.nix b/hosts/vm/cfg.nix
new file mode 100644
index 0000000..1b17ea6
--- /dev/null
+++ b/hosts/vm/cfg.nix
@@ -0,0 +1,17 @@
+{config}: {
+  imports = [
+    "../profiles/core.nix"
+    "../profiles/user.nix"
+    "../mixins/tailscale.nix"
+  ]
+
+  config = {
+    boot.supportedFilesystems = ["9p"];
+    fileSystems."/flake" = {
+      fsType = "9p";
+      device = "host0";
+      options = ["_netdev"];
+    };
+    boot.kernelParams = [ "console=ttyS0" ];
+  };
+}
\ No newline at end of file