From 9a1c1e0697ccf6e519288b578bfc3eb799b3d53c Mon Sep 17 00:00:00 2001 From: sefidel Date: Wed, 13 Sep 2023 16:43:30 +0900 Subject: feat(nixos/haruka): add laptop-specific tweaks --- nixos/haruka/configuration.nix | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'nixos/haruka/configuration.nix') 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; -- cgit 1.4.1