@@ -493,3 +493,5 @@ The module update takes care of the new config syntax and the data itself (user
- The `electron` packages now places its application files in `$out/libexec/electron` instead of `$out/lib/electron`. Packages using electron-builder will fail to build and need to be adjusted by changing `lib` to `libexec`.
-`teleport` has been upgraded from major version 12 to major version 14. Please see upstream [upgrade instructions](https://goteleport.com/docs/management/operations/upgrading/) and release notes for versions [13](https://goteleport.com/docs/changelog/#1300-050823) and [14](https://goteleport.com/docs/changelog/#1400-092023). Note that Teleport does not officially support upgrades across more than one major version at a time. If you're running Teleport server components, it is recommended to first upgrade to an intermediate 13.x version by setting `services.teleport.package = pkgs.teleport_13`. Afterwards, this option can be removed to upgrade to the default version (14).
- The Linux kernel module `msr` (see [`msr(4)`](https://man7.org/linux/man-pages/man4/msr.4.html)), which provides an interface to read and write the model-specific registers (MSRs) of an x86 CPU, can now be configured via `hardware.cpu.x86.msr`.
enable=mkEnableOption(mdDoc"the `msr` (Model-Specific Registers) kernel module and configure `udev` rules for its devices (usually `/dev/cpu/*/msr`)");
owner=mkOption{
type=str;
default="root";
example="nobody";
description=mdDoc"Owner ${set}";
};
group=mkOption{
type=str;
default=defaultGroup;
example="nobody";
description=mdDoc"Group ${set}";
};
mode=mkOption{
type=str;
default="0640";
example="0660";
description=mdDoc"Mode ${set}";
};
settings=mkOption{
type=submodule{
freeformType=attrsOf(oneOf[boolintstr]);
options.allow-writes=mkOption{
type=nullOr(enum["on""off"]);
default=null;
description="Whether to allow writes to MSRs (`\"on\"`) or not (`\"off\"`).";
};
};
default={};
description="Parameters for the `msr` kernel module.";
};
};
config=mkIfcfg.enable{
assertions=[
{
assertion=hasAttrcfg.ownerconfig.users.users;
message="Owner '${cfg.owner}' set in `${opt.owner}` is not configured via `${options.users.users}.\"${cfg.owner}\"`.";