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;