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