From 3d363513f847850b834dacc4715b5c22b42b7079 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Tue, 28 Nov 2023 22:01:11 +0200 Subject: (autoconfig/packages) Added machine type and name checks --- packages/default.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'packages') diff --git a/packages/default.nix b/packages/default.nix index 4d58753..2ee094f 100644 --- a/packages/default.nix +++ b/packages/default.nix @@ -23,4 +23,20 @@ hardware.bluetooth.enable = true; }; }; + + power-control = { + for.type = [ "laptop" ]; + + list = with pkgs; [ + powertop upower acpid tlp + ]; + }; + + thinkpad = { + for.name = [ "juno" ]; + + list = with pkgs; [ + thinkfan xorg.xf86inputsynaptics + ]; + }; } -- cgit v1.3.1-26-gb76a