{ pkgs, system, inputs, }: let common = import ./common.nix { inherit pkgs; }; darwin = import ./darwin.nix { inherit pkgs system inputs; }; remote = import ./remote.nix { inherit pkgs; }; in { common = common; remote = remote; darwin = if pkgs.lib.hasSuffix "darwin" system then darwin else [ ]; all = common ++ remote ++ (if pkgs.lib.hasSuffix "darwin" system then darwin else [ ]); }