{"id":22537542,"url":"https://github.com/cch000/pwr-cap-rs","last_synced_at":"2025-06-14T19:02:50.839Z","repository":{"id":222388153,"uuid":"757135301","full_name":"cch000/pwr-cap-rs","owner":"cch000","description":"Flake that provides an easy way to tweak the power consumption of your Ryzen CPU","archived":false,"fork":false,"pushed_at":"2025-01-04T23:04:36.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T07:27:47.304Z","etag":null,"topics":["amd","flake","linux","nix","nixos","nixos-configuration","nixos-module","powermanagement","ryzen","ryzenadj"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cch000.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-13T21:47:03.000Z","updated_at":"2025-01-04T23:27:09.000Z","dependencies_parsed_at":"2024-10-26T02:56:57.253Z","dependency_job_id":"13db7208-ae3d-4c34-97d2-09973a411a0a","html_url":"https://github.com/cch000/pwr-cap-rs","commit_stats":null,"previous_names":["cch000/power-cap-rs","cch000/pwr-cap-rs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cch000%2Fpwr-cap-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cch000%2Fpwr-cap-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cch000%2Fpwr-cap-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cch000%2Fpwr-cap-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cch000","download_url":"https://codeload.github.com/cch000/pwr-cap-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245984558,"owners_count":20704794,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amd","flake","linux","nix","nixos","nixos-configuration","nixos-module","powermanagement","ryzen","ryzenadj"],"created_at":"2024-12-07T11:07:30.882Z","updated_at":"2025-03-28T06:41:57.404Z","avatar_url":"https://github.com/cch000.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pwr-cap-rs\n\nFlake that provides an easy way to tweak the power consumption of your Ryzen CPU.\nIt uses a daemon to look for unintended changes to the power values (e.g., changing power profile) \nand set them back to those specified in the config file.\nBuilt using [ryzenadj libraries mappings to rust](https://crates.io/crates/libryzenadj).\n\nNote: for information about supported CPUs check the \n[ryzenadj repo](https://github.com/FlyGoat/RyzenAdj).\n\n## Usage\n\nFirst, add it to your system flake inputs:\n\n```nix\npwr-cap-rs = {\n  url = \"github:cch000/power-cap-rs\";\n  inputs.nixpkgs.follows = \"nixpkgs\";\n};\n```\n\nThen, you can use it by adding somewhere in your config:\n\n```nix\nimports = [\n  inputs.pwr-cap-rs.nixosModules.pwr-cap-rs\n];\n\n#Example config\nservices.pwr-cap-rs = {\n  enable = true;\n  tctl_limit = 85;\n  quiet = {\n    enable = true;\n    unplugged = {\n      enable = true;\n      stapm_limit = 7000;\n      fast_limit = 7000;\n      slow_limit = 7000;\n      apu_slow_limit = 20000;\n    };\n  };\n};\n```\n\nFor information about the options check the \n[ryzenadj repo](https://github.com/FlyGoat/RyzenAdj).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcch000%2Fpwr-cap-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcch000%2Fpwr-cap-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcch000%2Fpwr-cap-rs/lists"}