First Commit
This commit is contained in:
12
hosts/lillypc/systemd.nix
Normal file
12
hosts/lillypc/systemd.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
systemd.services.nvidia-undervolt = {
|
||||
enable = true;
|
||||
description = "Set NVIDIA GPU undervolt";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "${pkgs.nvidia_oc}/bin/nvidia_oc set --index 0 --freq-offset 250";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user