diff options
author | William Carroll <wpcarro@gmail.com> | 2021-12-16T15·27-0500 |
---|---|---|
committer | wpcarro <wpcarro@gmail.com> | 2021-12-16T22·07+0000 |
commit | 47830f9d63593cd52f97ebfaf86c630cc0793ad5 (patch) | |
tree | 8ac779dbfb07cd060552076e60ed1bee19593106 /users/wpcarro/nixos/marcus | |
parent | 9c9a88de874506383829b4ed4fb0fafc4238da9a (diff) |
feat(wpcarro/marcus): Prefer light to xbacklight r/3283
TL;DR: - Enable light (let there be light!) - Refactor screen-brightness.el TIL: `nixos-options programs.enable.light` outputs docs from the command-line Change-Id: Ib60a9b3c9b7f6f96fda29fce1a97ca9995822048 Reviewed-on: https://cl.tvl.fyi/c/depot/+/4385 Tested-by: BuildkiteCI Reviewed-by: wpcarro <wpcarro@gmail.com>
Diffstat (limited to 'users/wpcarro/nixos/marcus')
-rw-r--r-- | users/wpcarro/nixos/marcus/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/users/wpcarro/nixos/marcus/default.nix b/users/wpcarro/nixos/marcus/default.nix index bfbc392c21e8..f3c76f16c547 100644 --- a/users/wpcarro/nixos/marcus/default.nix +++ b/users/wpcarro/nixos/marcus/default.nix @@ -67,7 +67,10 @@ in { users.mutableUsers = true; users.users.wpcarro = { isNormalUser = true; - extraGroups = [ "wheel" ]; + extraGroups = [ + "wheel" + "video" # needed to control the screen brightness + ]; shell = pkgs.fish; }; @@ -83,7 +86,10 @@ in { }; }; - programs.fish.enable = true; + programs = { + fish.enable = true; + light.enable = true; + }; environment.systemPackages = with pkgs; [ alacritty |