{ config, lib, pkgs, profiles, ... }: let cfg = config.system; in { options.system = with lib; { settings = mkOption { default = { }; type = types.uciSection; description = '' See ''; }; build = mkOption { default = { }; description = '' Attribute set of derivations used to construct the system. ''; type = types.submoduleWith { modules = [{ freeformType = with types; lazyAttrsOf (uniq unspecified); }]; }; }; }; config.uci.settings.system."" = { type = "system"; inherit (cfg) settings; }; }