summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/kusanagi.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/nixos/kusanagi.nix b/nixos/kusanagi.nix
index 4bd5b77..fe43be6 100644
--- a/nixos/kusanagi.nix
+++ b/nixos/kusanagi.nix
@@ -94,6 +94,13 @@ in
options = [ "bind" ];
};
+ fileSystems."/var/lib/tailscale" =
+ { device = "/persist/var/lib/tailscale";
+ fsType = "none";
+ depends = [ "/persist" "/mnt-root/persist" ];
+ options = [ "bind" ];
+ };
+
# ---- immutable user config for tmpfs root ----
users.mutableUsers = false;
@@ -136,6 +143,8 @@ in
virtualisation.docker.enable = true;
virtualisation.virtualbox.host.enable = true;
+ services.tailscale.enable = true;
+
# ----
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";