From e301367fc5ba1dfc2805d9acf59106800c4d3da8 Mon Sep 17 00:00:00 2001 From: RootHost-Stormwind Date: Mon, 13 Jan 2025 01:13:13 +0100 Subject: [PATCH] add tailscale --- configuration.nix | 1 + tailscale.nix | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 tailscale.nix diff --git a/configuration.nix b/configuration.nix index c876401..b83561c 100644 --- a/configuration.nix +++ b/configuration.nix @@ -18,6 +18,7 @@ in (import "${home-manager}/nixos") ./user/stormwind/master.nix ./sshd.nix + ./tailscale.nix ]; # This value determines the NixOS release from which the default diff --git a/tailscale.nix b/tailscale.nix new file mode 100644 index 0000000..cddfe24 --- /dev/null +++ b/tailscale.nix @@ -0,0 +1,10 @@ +{ config, pkgs, ... }: + +{ + # make the tailscale command usable to users + environment.systemPackages = [ pkgs.tailscale ]; + + # enable the tailscale service + services.tailscale.enable = true; +} +