|
354 | 354 | };
|
355 | 355 |
|
356 | 356 | config = lib.mkIf cfg.enable {
|
| 357 | + warnings = lib.optionals options.hardware.nvidia-jetpack.firmware.uefi.edk2NvidiaPatches.isDefined [ |
| 358 | + '' |
| 359 | + The option `hardware.nvidia-jetpack.firmware.uefi.edk2NvidiaPatches` |
| 360 | + will be deprecated soon. Please migrate to using the `nixpkgs.overlays` |
| 361 | + option to define an overlay that modifies the |
| 362 | + `pkgs.nvidia-jetpack.edk2NvidiaSrc` derivation. For example, see |
| 363 | + <jetpack-nixos/overlay-with-config.nix>. |
| 364 | + '' |
| 365 | + ] |
| 366 | + ++ lib.optionals options.hardware.nvidia-jetpack.firmware.uefi.edk2UefiPatches.isDefined [ |
| 367 | + '' |
| 368 | + The option `hardware.nvidia-jetpack.firmware.uefi.edk2UefiPatches` will |
| 369 | + be deprecated soon. Please migrate to using the `nixpkgs.overlays` |
| 370 | + option to define an overlay that modifies the |
| 371 | + `pkgs.nvidia-jetpack.jetsonEdk2Uefi` derivation. For example, see |
| 372 | + <jetpack-nixos/overlay-with-config.nix>. |
| 373 | + '' |
| 374 | + ] |
| 375 | + ++ lib.optionals options.hardware.nvidia-jetpack.flashScriptOverrides.patches.isDefined [ |
| 376 | + '' |
| 377 | + The option `hardware.nvidia-jetpack.flashScriptOverrides.patches` will |
| 378 | + be deprecated soon. Please migrate to using the `nixpkgs.overlays` |
| 379 | + option to define an overlay that modifies the |
| 380 | + `pkgs.nvidia-jetpack.flash-tools` derivation. For example, see |
| 381 | + <jetpack-nixos/overlay-with-config.nix>. |
| 382 | + '' |
| 383 | + ] |
| 384 | + ++ lib.optionals options.hardware.nvidia-jetpack.flashScriptOverrides.postPatch.isDefined [ |
| 385 | + '' |
| 386 | + The option `hardware.nvidia-jetpack.flashScriptOverrides.postPatch` |
| 387 | + will be deprecated soon. Please migrate to using the `nixpkgs.overlays` |
| 388 | + option to define an overlay that modifies the |
| 389 | + `pkgs.nvidia-jetpack.flash-tools` derivation. For example, see |
| 390 | + <jetpack-nixos/overlay-with-config.nix>. |
| 391 | + '' |
| 392 | + ] |
| 393 | + ++ lib.optionals options.hardware.nvidia-jetpack.firmware.optee.patches.isDefined [ |
| 394 | + '' |
| 395 | + The option `hardware.nvidia-jetpack.firmware.optee.patches` will be |
| 396 | + deprecated soon. Please migrate to using the `nixpkgs.overlays` option |
| 397 | + to define an overlay that modifies the `pkgs.nvidia-jetpack.opteeOS` |
| 398 | + and/or `pkgs.nvidia-jetpack.opteeTaDevKit` derivations. For example, |
| 399 | + see <jetpack-nixos/overlay-with-config.nix>. |
| 400 | + '' |
| 401 | + ] |
| 402 | + ++ lib.optionals options.hardware.nvidia-jetpack.firmware.optee.extraMakeFlags.isDefined [ |
| 403 | + '' |
| 404 | + The option `hardware.nvidia-jetpack.firmware.optee.extraMakeFlags` will |
| 405 | + be deprecated soon. Please migrate to using the `nixpkgs.overlays` |
| 406 | + option to define an overlay that modifies the |
| 407 | + `pkgs.nvidia-jetpack.opteeOS` and/or |
| 408 | + `pkgs.nvidia-jetpack.opteeTaDevKit` derivations. For example, see |
| 409 | + <jetpack-nixos/overlay-with-config.nix>. |
| 410 | + '' |
| 411 | + ] |
| 412 | + ; |
| 413 | + |
357 | 414 | hardware.nvidia-jetpack.flashScript = lib.warn "hardware.nvidia-jetpack.flashScript is deprecated, use config.system.build.flashScript" config.system.build.flashScript;
|
358 | 415 | hardware.nvidia-jetpack.devicePkgs = (lib.mapAttrs (_: lib.warn "hardware.nvidia-jetpack.devicePkgs is deprecated, use pkgs.nvidia-jetpack") pkgs.nvidia-jetpack);
|
359 | 416 |
|
|
0 commit comments