1
1
Fork 0

ryzenadj: initial disabled module

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2024-12-14 14:24:23 -06:00
parent 87064abe0e
commit 5d46b2e28c
Signed by: Myned
GPG key ID: C7224454F7881A34
2 changed files with 21 additions and 0 deletions

View file

@ -18,6 +18,11 @@ in {
width = 2256; width = 2256;
height = 1504; height = 1504;
scale = 1.5; scale = 1.5;
# BUG: Phoenix support not currently functional
# https://github.com/Cryolitia/ryzen_smu/issues/1
#// programs.ryzenadj.enable = true;
settings.storage.mnt = ["myve"]; settings.storage.mnt = ["myve"];
services = { services = {

View file

@ -0,0 +1,16 @@
{
config,
lib,
pkgs,
...
}:
with lib; let
cfg = config.custom.programs.ryzenadj;
in {
options.custom.programs.ryzenadj.enable = mkOption {default = false;};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [ryzenadj];
hardware.cpu.amd.ryzen-smu.enable = true;
};
}