1
1
Fork 0
nixos/options/custom/programs/ryzenadj.nix
Myned 5d46b2e28c
ryzenadj: initial disabled module
Signed-off-by: Myned <dev@bjork.tech>
2024-12-14 14:24:23 -06:00

16 lines
308 B
Nix

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