https://git.jolheiser.com/tailroute.git
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; }; }); }; }