From f087e4cda75ce0ab2dcf6f4a8dbcaad9ec876ede Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 7 Jul 2024 08:55:30 +0300 Subject: [all] Improved autoconfig-ing setup and added some configs --- modules/laptop_control.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 modules/laptop_control.nix (limited to 'modules/laptop_control.nix') diff --git a/modules/laptop_control.nix b/modules/laptop_control.nix new file mode 100644 index 0000000..95de027 --- /dev/null +++ b/modules/laptop_control.nix @@ -0,0 +1,13 @@ +{ pkgs, ... }: { + environment.systemPackages = with pkgs; [ + # Power + powertop upower acpid tlp + # Other + brightnessctl libinput-gestures epkowa + ]; + + services = { + upower.enable = true; + tlp.enable = true; + }; +} -- cgit v1.3.1-26-gb76a