Commit 1d9b9130 authored by Robert Hensing's avatar Robert Hensing
Browse files

nixos/lib/testing: Delay nodes.machine.~config~ migration

Provide a window during which both solutions are valid without
warnings, in order to fight warning fatigue, and not to push 3rd
party repo maintainers to add unnecessary compat code.
parent 611f2478
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ in
    nodesCompat =
      mapAttrs
        (name: config: config // {
          config = lib.warn
          config = lib.warnIf (lib.isInOldestRelease 2211)
            "Module argument `nodes.${name}.config` is deprecated. Use `nodes.${name}` instead."
            config;
        })