blob: 467f877330163f35a15dcff62b2f27416228548e (
plain) (
tree)
|
|
# SPDX-License-Identifier: MIT
# SPDX-FileCopyrightText: 2022 Unikie
{ config ?
let customPath = builtins.tryEval <spectrum-config>; in
if customPath.success then import customPath.value
else if builtins.pathExists ../config.nix then import ../config.nix
else {}
}:
({ pkgs ? import <nixpkgs> {} }: {
inherit pkgs;
}) config
|