From c5ed051714777fe6af57bad6d1dec266d0f1f9cf Mon Sep 17 00:00:00 2001 From: liv Date: Sat, 10 Aug 2024 23:41:38 +0200 Subject: [PATCH] set up tailscale --- nixos/common/default.nix | 1 + nixos/common/tailscale.nix | 5 +++++ 2 files changed, 6 insertions(+) create mode 100644 nixos/common/tailscale.nix diff --git a/nixos/common/default.nix b/nixos/common/default.nix index 46637b9..efb388c 100644 --- a/nixos/common/default.nix +++ b/nixos/common/default.nix @@ -1,6 +1,7 @@ { lib, pkgs, ... }: { imports = [ ./audio.nix + ./tailscale.nix ]; # use nix version 2.22 diff --git a/nixos/common/tailscale.nix b/nixos/common/tailscale.nix new file mode 100644 index 0000000..dcc354e --- /dev/null +++ b/nixos/common/tailscale.nix @@ -0,0 +1,5 @@ +{ lib, ... }: { + services.tailscale = { + enable = true; + }; +}