Skip to content

Commit

Permalink
restore the defaults entry in the network file
Browse files Browse the repository at this point in the history
  • Loading branch information
cleverca22 committed Jun 27, 2024
1 parent 31a4824 commit a76ad69
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data/eval-machines.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,17 @@ let
in with lib;

let
defaults = network.defaults or {};

modules = { machineName, nodes, check }:
[
# Get the configuration of this machine from each network
# expression, attaching _file attributes so the NixOS module
# system can give sensible error messages.
{ imports = [ network.${machineName} ]; }

defaults

({ lib, ... }: {
key = "deploy-stuff";
imports = [ ./options.nix ];
Expand Down

0 comments on commit a76ad69

Please sign in to comment.