Skip to content

Instantly share code, notes, and snippets.

@epk
Created April 26, 2022 00:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save epk/195203b26afacb8d4a0c4d2409085a10 to your computer and use it in GitHub Desktop.
Save epk/195203b26afacb8d4a0c4d2409085a10 to your computer and use it in GitHub Desktop.
{ config, lib, pkgs, ... }:
let
baseconfig = { allowUnfree = true; };
unstable = import <nixos-unstable> { config = baseconfig; };
in {
imports =
[ <nixos-unstable/nixos/modules/services/networking/tailscale.nix> ];
disabledModules = [ "services/networking/tailscale.nix" ];
nixpkgs.config = baseconfig // {
packageOverrides = pkgs: { 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