Skip to content

Commit

Permalink
Merge pull request #214 from cleverca22/restore-defaults
Browse files Browse the repository at this point in the history
restore the defaults entry in the network file
  • Loading branch information
srhb authored Jul 17, 2024
2 parents 31a4824 + a76ad69 commit 107f20a
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 107f20a

Please sign in to comment.