diff options
Diffstat (limited to 'users/wpcarro/nixos/modules/laptop.nix')
-rw-r--r-- | users/wpcarro/nixos/modules/laptop.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/users/wpcarro/nixos/modules/laptop.nix b/users/wpcarro/nixos/modules/laptop.nix new file mode 100644 index 000000000000..03dd0f39bb81 --- /dev/null +++ b/users/wpcarro/nixos/modules/laptop.nix @@ -0,0 +1,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; +} + |