From cc0a856bd8f5d2cac3261f4bf2192b203ead0e4f Mon Sep 17 00:00:00 2001 From: Christian Ott Date: Sat, 4 May 2024 21:25:57 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B1=20Improve=20system=20config?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configuration.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/configuration.nix b/configuration.nix index 5abe143..a121b61 100644 --- a/configuration.nix +++ b/configuration.nix @@ -49,7 +49,23 @@ services.xserver.displayManager.gdm.enable = false; services.xserver.desktopManager.gnome.enable = true; + services.fwupd.enable = true; + + # AMD has better battery life with PPD over TLP: + # https://community.frame.work/t/responded-amd-7040-sleep-states/38101/13 + services.power-profiles-daemon.enable = true; + + # For fingerprint support services.fprintd.enable = true; + + # Needed for desktop environments to detect/manage display brightness + hardware.sensor.iio.enable = true; + + # Trim ssd for longer life and better storage + services.fstrim.enable = true; + + # Enable non-root access to QMK firmware + hardware.keyboard.qmk.enable = true; # Configure keymap in X11 # services.xserver.xkb.layout = "us"; # services.xserver.xkb.options = "eurosign:e,caps:escape";