···493- 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`.
494495- `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).
00
···493- 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`.
494495- `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).
496+497+- 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`.
···2930 # Kernel 5.9 spams warnings whenever userspace writes to CPU MSRs.
31 # See https://github.com/erpalma/throttled/issues/215
32- boot.kernelParams =
33- optional (versionAtLeast config.boot.kernelPackages.kernel.version "5.9")
34- "msr.allow_writes=on";
35 };
36}
···2930 # Kernel 5.9 spams warnings whenever userspace writes to CPU MSRs.
31 # See https://github.com/erpalma/throttled/issues/215
32+ hardware.cpu.x86.msr.settings.allow-writes =
33+ mkIf (versionAtLeast config.boot.kernelPackages.kernel.version "5.9") "on";
034 };
35}
+1-1
nixos/modules/services/hardware/tlp.nix
···4748 ###### implementation
49 config = mkIf cfg.enable {
50- boot.kernelModules = [ "msr" ];
5152 warnings = optional (cfg.extraConfig != "") ''
53 Using config.services.tlp.extraConfig is deprecated and will become unsupported in a future release. Use config.services.tlp.settings instead.
···4748 ###### implementation
49 config = mkIf cfg.enable {
50+ hardware.cpu.x86.msr.enable = true;
5152 warnings = optional (cfg.extraConfig != "") ''
53 Using config.services.tlp.extraConfig is deprecated and will become unsupported in a future release. Use config.services.tlp.settings instead.