gpu oc
This commit is contained in:
parent
76b73e235f
commit
8f13eaf44d
1 changed files with 10 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, ... }:
|
{ lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs;
|
environment.systemPackages = with pkgs;
|
||||||
[
|
[
|
||||||
|
|
@ -76,6 +76,15 @@
|
||||||
# package = config.boot.kernelPackages.nvidiaPackages.beta;
|
# package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||||
package = pkgs.unstable.linuxPackages_latest.nvidiaPackages.production;
|
package = pkgs.unstable.linuxPackages_latest.nvidiaPackages.production;
|
||||||
};
|
};
|
||||||
|
# enable core and mem freq sliders for nvidia
|
||||||
|
services.xserver.deviceSection = ''
|
||||||
|
Option "Coolbits" "8"
|
||||||
|
'';
|
||||||
|
systemd.services.nvpl = {
|
||||||
|
description = "Increase GPU power limit to 400w";
|
||||||
|
script = "/run/current-system/sw/bin/nvidia-smi -pl=400";
|
||||||
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
};
|
||||||
|
|
||||||
networking.hostName = "NOcomputer";
|
networking.hostName = "NOcomputer";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue