about summary refs log tree commit diff
path: root/machines/aszlig
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2022-09-26 18:54:24 +0200
committeraszlig <aszlig@nix.build>2022-09-26 19:15:21 +0200
commit819689caa0687cc91a538fc27ce51a4e7c653e33 (patch)
treefbe31864462dea1661a87838b8ac82bc7c6b238b /machines/aszlig
parentac8d08fcb914771a5ddcd72e3313a5498ed5dca7 (diff)
slylandro: Add light command
While I do use redshift to decrease the brightness at night, I also tend
to sometimes use the laptop when barely awake. Having a convenient CLI
makes it easier to script, eg. "mpv somefile; light -S 0".

The reason why I did not add this to my generic workstation profile is
because my workstations are usually placed in a way that I need to be
awake enough to approach them.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'machines/aszlig')
-rw-r--r--machines/aszlig/slylandro.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/machines/aszlig/slylandro.nix b/machines/aszlig/slylandro.nix
index a673fb19..9b729581 100644
--- a/machines/aszlig/slylandro.nix
+++ b/machines/aszlig/slylandro.nix
@@ -79,5 +79,7 @@
     middleEmulation = false;
   };
 
+  programs.light.enable = true;
+
   nix.settings.max-jobs = 16;
 }