Skip to content

Instantly share code, notes, and snippets.

@bronson
Forked from epk/unstable-tailscale.nix
Last active October 2, 2022 01:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bronson/e4c80c3a4dc8cc1fa5e8a753847cfb07 to your computer and use it in GitHub Desktop.
Save bronson/e4c80c3a4dc8cc1fa5e8a753847cfb07 to your computer and use it in GitHub Desktop.
Installs unstable Tailscale
# Installs the latest version of Tailscale instead of the stable version.
# Run these two commands to prepare the unstable channel:
# nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs-unstable
# nix-channel --update nixpkgs-unstable
{ config, lib, pkgs, ... }:
let
baseconfig = { allowUnfree = true; };
unstable = import <nixpkgs-unstable> { config = baseconfig; };
in {
nixpkgs.overlays = [(final: prev: {
tailscale = unstable.tailscale;
})];
services.tailscale.enable = true;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment