ryzenadj: initial disabled module
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
87064abe0e
commit
5d46b2e28c
2 changed files with 21 additions and 0 deletions
|
@ -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 = {
|
||||||
|
|
16
options/custom/programs/ryzenadj.nix
Normal file
16
options/custom/programs/ryzenadj.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue