diff --git a/machines/myork/default.nix b/machines/myork/default.nix index a90325d..d835fad 100644 --- a/machines/myork/default.nix +++ b/machines/myork/default.nix @@ -18,6 +18,11 @@ in { width = 2256; height = 1504; 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"]; services = { diff --git a/options/custom/programs/ryzenadj.nix b/options/custom/programs/ryzenadj.nix new file mode 100644 index 0000000..874e4eb --- /dev/null +++ b/options/custom/programs/ryzenadj.nix @@ -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; + }; +}