From c7b5326399bb7d0aee494dc41622117ecfc2e3d1 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 27 Feb 2024 20:07:55 +0100 Subject: tailscale on kusanagi --- nixos/kusanagi.nix | 9 +++++++++ 1 file changed, 9 insertions(+) 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"; -- cgit v1.2.3