# SPDX-License-Identifier: MIT # SPDX-FileCopyrightText: 2022 Unikie { config ? let customPath = builtins.tryEval ; in if customPath.success then import customPath.value else if builtins.pathExists ../config.nix then import ../config.nix else {} }: ({ pkgs ? import {} }: with pkgs; { inherit pkgs; archSuffix = if pkgs.stdenv.isx86_64 then "x64" else if pkgs.stdenv.isAarch64 then "aa64" else throw "Unsupported architecture"; }) config