diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 3632cb8..86f6c3a 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -157,7 +157,10 @@ initialPassword = "changeme"; # Enable sudo privileges - extraGroups = [ "wheel" ]; + extraGroups = [ + "wheel" # Sudo privileges + "i2c" # Access to external monitors + ]; # Use the fish shell shell = pkgs.fish; @@ -176,10 +179,9 @@ dmenu xlockmore feh - xorg.xbacklight playerctl - # i3blocks polybar + ddcutil # Monitor brightness control # Mouse config libratbag @@ -205,6 +207,9 @@ }; }; + # Detect monitors (brightness) + hardware.i2c.enable = true; + # Login to Keybase in the background services.keybase.enable = true; services.kbfs = {