From 9d3f3b49f689822ea28e510a672579235c1910dc Mon Sep 17 00:00:00 2001 From: Rob Date: Tue, 30 Jan 2024 07:18:43 +0000 Subject: [PATCH] add tailscale --- configuration.nix | 1 + modules/tailscale.nix | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 modules/tailscale.nix diff --git a/configuration.nix b/configuration.nix index 00ca1c6..3d918f3 100644 --- a/configuration.nix +++ b/configuration.nix @@ -16,6 +16,7 @@ ./modules/storage.nix ./modules/root-programs.nix ./modules/smb.nix + ./modules/tailscale.nix ]; # Use the GRUB 2 boot loader. diff --git a/modules/tailscale.nix b/modules/tailscale.nix new file mode 100644 index 0000000..15d4105 --- /dev/null +++ b/modules/tailscale.nix @@ -0,0 +1,9 @@ +{ config, pkgs, ... }: + +{ + # make the tailscale command usable to users + environment.systemPackages = [ pkgs.tailscale ]; + + # enable the tailscale service + services.tailscale.enable = true; +}