Summary Files Commits Branches @commit @diff @stats
path: root / packages
diff options
context:
space:
mode:
Commit3d363513f847850b834dacc4715b5c22b42b7079 (patch)
Author
 Syndamia <kamen@syndamia.com>
2023-11-28 22:01:11 +0200
Committer
 Syndamia <kamen@syndamia.com>
2023-11-28 22:01:11 +0200
Files4fb4b0602184e990d620398093636c215cb1817f /packages
nix-3d363513f847850b834dacc4715b5c22b42b7079.tar
nix-3d363513f847850b834dacc4715b5c22b42b7079.tar.gz
nix-3d363513f847850b834dacc4715b5c22b42b7079.zip
Parentf1f6b27853d6b2271817859bdc6eb2d33ea064aa (diff)
(autoconfig/packages) Added machine type and name checks
1 files changed, 16 insertions, 0 deletions
-rw-r--r--packages/default.nix16
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
+ ];
+ };
}