From f13fea1968e78ab763d8310d8801eb15545974f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 12 Jun 2021 16:35:20 +0100 Subject: [PATCH] upgrade tailscale --- nixos/tailscale.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/nixos/tailscale.nix b/nixos/tailscale.nix index 31751975..9b1fa8b1 100644 --- a/nixos/tailscale.nix +++ b/nixos/tailscale.nix @@ -1,9 +1,12 @@ -{ config, pkgs, ... }: -{ - environment.systemPackages = [ pkgs.tailscale ]; +{ config, pkgs, inputs, ... }: +let + tailscale = inputs.nixpkgs-nixos-unstable.legacyPackages."x86_64-linux".tailscale; + +in { + environment.systemPackages = [ tailscale ]; services.tailscale = { enable = true; - package = pkgs.tailscale; + package = tailscale; }; networking.firewall = {