about summary refs log tree commit diff
path: root/ops/nixos/nugget
diff options
context:
space:
mode:
Diffstat (limited to 'ops/nixos/nugget')
-rw-r--r--ops/nixos/nugget/default.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/ops/nixos/nugget/default.nix b/ops/nixos/nugget/default.nix
index cd0f08e6ea27..c8ab867fd899 100644
--- a/ops/nixos/nugget/default.nix
+++ b/ops/nixos/nugget/default.nix
@@ -11,6 +11,10 @@ config: let
 
   lieer = (pkgs.third_party.lieer {});
 in pkgs.lib.fix(self: {
+  imports = [
+    ../modules/tailscale.nix
+  ];
+
   hardware = {
     pulseaudio.enable = true;
     cpu.intel.updateMicrocode = true;
@@ -237,6 +241,14 @@ in pkgs.lib.fix(self: {
       };
     };
 
+    # Use Tailscale \o/
+    services.tailscale = {
+      enable = true;
+      relayConf = "/etc/tailscale/relay.conf";
+      aclFile = null; # allow all traffic for testing
+      package = pkgs.third_party.tailscale;
+    };
+
     # ... and other nonsense.
     system.stateVersion = "19.09";
 })