From be7ae1dc8b7983ec6c0b73486093b256e7636e5e Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Thu, 15 Apr 2021 15:20:44 -0400 Subject: [PATCH] ... --- features/monitor-brightness.nix | 4 ++++ home.nix | 3 +++ hosts/x1c7.nix | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/features/monitor-brightness.nix b/features/monitor-brightness.nix index 22269f9..aa24eef 100644 --- a/features/monitor-brightness.nix +++ b/features/monitor-brightness.nix @@ -3,6 +3,10 @@ boot.kernelModules = [ "i2c-dev" ]; environment.systemPackages = with pkgs; [ + # ddcutil can manage *external* monitor's brightness ddcutil + + # This can control the laptop display. + xorg.xbacklight ]; } diff --git a/home.nix b/home.nix index a04b03a..9ccc3fb 100644 --- a/home.nix +++ b/home.nix @@ -115,6 +115,9 @@ in t = "tig"; l = "ls --color=always"; h = "${himalaya}/bin/himalaya"; + em = "TERM=xterm-direct emacs -nw"; + }; + sessionVariables = { }; }; diff --git a/hosts/x1c7.nix b/hosts/x1c7.nix index 8bd03cd..e0bfacd 100644 --- a/hosts/x1c7.nix +++ b/hosts/x1c7.nix @@ -55,7 +55,7 @@ services.xserver.enable = true; #services.xserver.displayManager.gdm.enable = true; - #services.xserver.desktopManager.gnome3.enable = true; + services.xserver.desktopManager.gnome3.enable = true; users.users.srid = { isNormalUser = true;