{ lib, config, pkgs, host, ... }: with lib; let cfg = config.n.host; in { options.n.host = { kernel = mkOption { type = types.raw; default = pkgs.linuxKernel.packages.linux_6_1_hardened; }; users = mkOption { type = with types; attrs; default = {}; }; defaultUser = mkOption { type = type.str; }; extras = mkOption { type = with types; listOf path; }; types = mkOption { type = with types; listOf str; }; }; options.nodes = mkOption { type = with types; attrsOf attrs; }; config = { boot.kernelPackages = cfg.kernel; users.users = cfg.users; }; }