Commit 84803308 authored by Lorenz Leutgeb's avatar Lorenz Leutgeb
Browse files

nixos/xmrig: Use `hardware.cpu.x86.msr`

parent b70a63a9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -52,7 +52,7 @@ with lib;
  };

  config = mkIf cfg.enable {
    boot.kernelModules = [ "msr" ];
    hardware.cpu.x86.msr.enable = true;

    systemd.services.xmrig = {
      wantedBy = [ "multi-user.target" ];