From 84c356d93c9aed5b0db190e2722f10996d12acb4 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Wed, 23 Nov 2022 17:01:25 -0800 Subject: [PATCH] enable tailscale --- euhadra.nix | 1 + petalius.nix | 1 + tailscale.nix | 7 +++++++ 3 files changed, 9 insertions(+) create mode 100644 tailscale.nix diff --git a/euhadra.nix b/euhadra.nix index f71d18d..df95f75 100644 --- a/euhadra.nix +++ b/euhadra.nix @@ -10,6 +10,7 @@ let mpdStreamingPort = 8080; in ./uefi.nix ./fstrim.nix ./nebula.nix + ./tailscale.nix ]; environment.etc."lvm/lvm.conf".text = '' diff --git a/petalius.nix b/petalius.nix index f6b1446..06952db 100644 --- a/petalius.nix +++ b/petalius.nix @@ -15,6 +15,7 @@ ./nvim05.nix ./nm-restart.nix ./nebula.nix + ./tailscale.nix ]; hardware.enableRedistributableFirmware = true; diff --git a/tailscale.nix b/tailscale.nix new file mode 100644 index 0000000..4609f87 --- /dev/null +++ b/tailscale.nix @@ -0,0 +1,7 @@ +{ config, pkgs, ... }: { + # make the tailscale command usable to users + environment.systemPackages = [ pkgs.tailscale ]; + + # enable the tailscale service + services.tailscale.enable = true; +}