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; +} +