about summary refs log tree commit diff
path: root/users/wpcarro/nixos/modules/laptop.nix
blob: 03dd0f39bb81906dc9bb7b5f6b8d9cb78b676411 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Laptop-specific NixOS configuration.
_:

{
  # Automatically detect location for redshift.
  services.geoclue2.enable = true;
  location.provider = "geoclue2";

  # Enable power-saving features.
  powerManagement.powertop.enable = true;

  # Backlight control command.
  programs.light.enable = true;
}