Home

tailroute @38b56a0b857efb88f86fa56dd8d88fe9d72dc270 - refs - log -
-
https://git.jolheiser.com/tailroute.git
Router for tailnet and funnel across tailscale
tailroute / flake.nix
- raw -
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
  outputs =
    {
      self,
      nixpkgs,
      ...
    }:
    let
      systems = [
        "aarch64-darwin"
        "aarch64-linux"
        "x86_64-darwin"
        "x86_64-linux"
      ];
      forAllSystems = f: nixpkgs.lib.genAttrs systems f;
    in
    {
      overlays.default = import ./nix/overlay.nix;
      nixosModules = {
        tailproxy = import ./nix/module.nix;
        default = self.nixosModules.tailproxy;
      };
      packages = forAllSystems (system: import ./nix { pkgs = import nixpkgs { inherit system; }; });
    };
}