783 B
783 B
2022-05-25
-
perSystemis not afunctionTo submoduleanymore, but adeferredModule, which is a lot like a regular submodule, but possible to invoke multiple times, for eachsystem.All
perSystemvalue definitions must remove thesystem:argument. If you needsystemto be in scope, use the one in the module arguments.-perSystem = system: { config, lib, ... }: +perSystem = { config, lib, system, ... }:All
perSystemoption declarations must now useflake-parts-lib.mkPerSystemOption.{ options.perSystem = mkPerSystemOption ({ config, ... }: { options = { # ... }; # ... }); } -
flake-modules-coreis now calledflake-parts.