diff --git a/flake.nix b/flake.nix index 6f462e3..25c6c9e 100644 --- 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 index 9dc0c69..bff1136 100644 --- 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 deleted file mode 100644 index e88a4a3..0000000 --- a/pkgs/throttled.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 185879489c015a730830a09481f496a126d8a7f9 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= -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 -