{ inputs = { nixpkgs.url = "nixpkgs/nixpkgs-unstable"; }; outputs = { self, nixpkgs, }: let systems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"]; eachSystem = f: nixpkgs.lib.genAttrs systems (system: f nixpkgs.legacyPackages.${system}); in { formatter = eachSystem (pkgs: pkgs.alejandra); packages = eachSystem (pkgs: { infra = pkgs.callPackage ./static.nix {name = "infra";}; personal = pkgs.callPackage ./static.nix {name = "personal";}; }); }; }