commit a7b8b49e1a0bf4b41db7ba7ca77d759596ec9fd3 (tree)
parent 585b138f23a5e4950c2f6fa00b463c4eb80dcd73
Author: Motiejus Jakštys <motiejus.jakstys@chronosphere.io>
Date: Tue, 9 Apr 2024 08:51:08 +0300
remove throttled
https://github.com/erpalma/throttled/issues/346#issuecomment-2044195607
Diffstat:
3 files changed, 0 insertions(+), 31 deletions(-)
diff --git a/flake.nix b/flake.nix
@@ -114,10 +114,6 @@
# TODO: copied from 24.05
turbo = super.callPackage ./pkgs/turbo.nix {};
- throttled = super.throttled.overrideAttrs (_: _: {
- patches = [./pkgs/throttled.patch];
- });
-
pkgs-unstable = import nixpkgs-unstable {
inherit (super) system;
};
diff --git a/hosts/mtworx/configuration.nix b/hosts/mtworx/configuration.nix
@@ -125,8 +125,6 @@ in {
};
services = {
- throttled.enable = true;
-
autorandr.profiles = {
default = {
fingerprint = {inherit (randr) eDP-1;};
diff --git a/pkgs/throttled.patch b/pkgs/throttled.patch
@@ -1,25 +0,0 @@
-From 185879489c015a730830a09481f496a126d8a7f9 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= <motiejus.jakstys@chronosphere.io>
-Date: Wed, 27 Mar 2024 19:50:12 +0200
-Subject: [PATCH] enable i7-1355U
-
-https://github.com/erpalma/throttled/issues/346
----
- throttled.py | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/throttled.py b/throttled.py
-index b9f4c41..0e2b5f7 100755
---- a/throttled.py
-+++ b/throttled.py
-@@ -170,6 +170,7 @@ supported_cpus = {
- (6, 165, 5): 'Comet Lake-S',
- (6, 166, 0): 'CometLake',
- (6, 167, 1): 'RocketLake',
-+ (6, 186, 3): 'RaptorLake-U',
- }
-
- TESTMSR = False
---
-2.42.0
-