From 5518f620bbec2e4407519a4a5b71073c9ed380af Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Mon, 9 May 2022 17:04:52 +0200 Subject: refactor(tazjin/nixos): Split up desktop/laptop configurations Change-Id: I0f5d631491be0c811ad171510568aac097d2fddd Reviewed-on: https://cl.tvl.fyi/c/depot/+/5553 Tested-by: BuildkiteCI Reviewed-by: tazjin Autosubmit: tazjin --- users/tazjin/nixos/modules/laptop.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 users/tazjin/nixos/modules/laptop.nix (limited to 'users/tazjin/nixos/modules/laptop.nix') diff --git a/users/tazjin/nixos/modules/laptop.nix b/users/tazjin/nixos/modules/laptop.nix new file mode 100644 index 0000000000..9a4a095b26 --- /dev/null +++ b/users/tazjin/nixos/modules/laptop.nix @@ -0,0 +1,12 @@ +# Configuration specifically for laptops that move around. +{ ... }: + +{ + # Automatically detect location to use for redshift + location.provider = "geoclue2"; + + # Enable power-saving features. + services.tlp.enable = true; + + programs.light.enable = true; +} -- cgit 1.4.1