-
-
Save bronson/e4c80c3a4dc8cc1fa5e8a753847cfb07 to your computer and use it in GitHub Desktop.
Installs unstable Tailscale
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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