summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-12-01 13:48:55 +0000
committertv <tv@krebsco.de>2026-12-01 13:48:55 +0000
commitbcba87df2e5f4397341c28c6fdbecb28ffb34b25 (patch)
treee34c234d39715dc3d634f604825d462d10671390
parentefb2bda908d7527fd164800e7d12de871097c50a (diff)
krops.nix: no enstate source lists for a minimal host
Its configuration has no enstate options, so deploying oxi failed.
-rw-r--r--krops.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/krops.nix b/krops.nix
index eeb6fb06..5468f6ab 100644
--- a/krops.nix
+++ b/krops.nix
@@ -78,9 +78,10 @@ let
(builtins.filter (item: item != "") (lib.splitString "," checkouts)));
# hrm, as this host has it: its package set, and the host's enstate
- # source lists, as evaluated here.
+ # source lists, as evaluated here (none for a minimal host, which has no
+ # enstate options).
local = import ./. {};
- sourceLists = local.legacy.nixosConfigurations.${name}.config.enstate.sourceLists;
+ sourceLists = local.legacy.nixosConfigurations.${name}.config.enstate.sourceLists or {};
# A source pinned in sources.json, fetched with git.
gitSource = source: let
[cgit] Unable to lock slot /tmp/cgit/08000000.lock: Permission denied (13)