blob e437cdbe9aa22dd0f9c8d7052ac331c8fccf6ce6 512 bytes (raw)
name: lib/config.nix # note: path name is non-authoritative(*)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| | # SPDX-FileCopyrightText: 2023 Alyssa Ross <hi@alyssa.is>
# SPDX-License-Identifier: MIT
let
customConfigPath = builtins.tryEval <spectrum-config>;
in
{ config ?
if customConfigPath.success then import customConfigPath.value
else if builtins.pathExists ../config.nix then import ../config.nix
else {}
}:
let
default = import ../lib/config.default.nix;
callConfig = config: if builtins.typeOf config == "lambda" then config {
inherit default;
} else config;
in
default // callConfig config
|
debug log:
solving e437cdbe9aa22dd0f9c8d7052ac331c8fccf6ce6 ...
found e437cdbe9aa22dd0f9c8d7052ac331c8fccf6ce6 in https://spectrum-os.org/git/spectrum
(*) Git path names are given by the tree(s) the blob belongs to.
Blobs themselves have no identifier aside from the hash of its contents.^
Code repositories for project(s) associated with this public inbox
https://spectrum-os.org/git/doc
https://spectrum-os.org/git/mktuntap
https://spectrum-os.org/git/spectrum
https://spectrum-os.org/git/ucspi-vsock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).