1
1
Fork 0
nixos/options/custom/programs/ryzenadj.nix

17 lines
308 B
Nix
Raw Normal View History

{
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;
};
}