Summary Files Commits Branches @commit @diff @stats
path: root / modules / laptop_control.nix
diff options
context:
space:
mode:
1 files changed, 13 insertions, 0 deletions
-rw-r--r--modules/laptop_control.nix13
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;
+ };
+}