diff options
| author | tv <tv@krebsco.de> | 2026-12-01 13:48:55 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-12-01 13:48:55 +0000 |
| commit | 46f370278c091f89b3b321c7738d210c5617e06b (patch) | |
| tree | 90cb591e52215ddfe81478429dc8b64865e6372c /krops.nix | |
| parent | dc2e27a04d8e2f34c265b213a390615d9dfc58cd (diff) | |
krops.nix: no enstate source lists for a minimal host
Its configuration has no enstate options, so deploying oxi failed.
Diffstat (limited to 'krops.nix')
| -rw-r--r-- | krops.nix | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |
