about summary refs log tree commit diff
path: root/nixos/haruka
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/haruka')
-rw-r--r--nixos/haruka/configuration.nix15
1 files changed, 14 insertions, 1 deletions
diff --git a/nixos/haruka/configuration.nix b/nixos/haruka/configuration.nix
index 1dc71a8..5f1d715 100644
--- a/nixos/haruka/configuration.nix
+++ b/nixos/haruka/configuration.nix
@@ -83,7 +83,7 @@
 
   time.timeZone = "Asia/Tokyo";
 
-  environment.systemPackages = with pkgs; [ gcc git gnumake ];
+  environment.systemPackages = with pkgs; [ gcc git gnumake brightnessctl ];
 
   services.zfs.trim.enable = true;
   services.zfs.autoScrub.enable = true;
@@ -162,8 +162,21 @@
   hardware.bluetooth.enable = true;
   hardware.opentabletdriver.enable = true;
 
+  hardware.trackpoint = {
+    enable = true;
+    device = "TPPS/2 Elan TrackPoint";
+  };
+
   services.fwupd.enable = true;
 
+  services.tlp = {
+    enable = true;
+    settings = {
+      START_CHARGE_THRESH_BAT0 = 75;
+      STOP_CHARGE_THRESH_BAT0 = 80;
+    };
+  };
+
   services.keyd-qol.enable = true;
 
   services.printing.enable = true;