Summary Files Commits Branches @commit @diff @stats
path: root / modules / laptop_control.nix
diff options
context:
space:
mode:
Commitf087e4cda75ce0ab2dcf6f4a8dbcaad9ec876ede (patch)
Author
 Syndamia <kamen@syndamia.com>
2024-07-07 08:55:30 +0300
Committer
 Syndamia <kamen@syndamia.com>
2024-07-07 08:55:30 +0300
Files37d7d19aa83e5d2d7ab9370ddfda9091671d2972 /modules/laptop_control.nix
nix-f087e4cda75ce0ab2dcf6f4a8dbcaad9ec876ede.tar
nix-f087e4cda75ce0ab2dcf6f4a8dbcaad9ec876ede.tar.gz
nix-f087e4cda75ce0ab2dcf6f4a8dbcaad9ec876ede.zip
Parent27b0e6bf1f4cc859d331d5c50030d8531c958452 (diff)
[all] Improved autoconfig-ing setup and added some configs
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;
+ };
+}