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

This commit is contained in:
Lorenz Leutgeb 2023-10-16 21:41:58 +02:00
parent b70a63a910
commit 84803308bf

View File

@ -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" ];