ddcutil to control external display brightness
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
ddcutil
|
||||
nix-search-cli
|
||||
alacritty
|
||||
yazi
|
||||
|
||||
@@ -14,6 +14,11 @@
|
||||
fontSize = 36;
|
||||
};
|
||||
};
|
||||
boot.kernelModules = ["i2c-dev"];
|
||||
hardware.i2c.enable = true;
|
||||
services.udev.extraRules = ''
|
||||
KERNEL=="i2c-[0-9]*", GROUP="i2c", MODE="0660"
|
||||
'';
|
||||
|
||||
# Set your time zone.
|
||||
time.timeZone = "Europe/Moscow";
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
users.users.venya = {
|
||||
isNormalUser = true;
|
||||
description = "Dmitry Chumak";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
extraGroups = [ "networkmanager" "wheel" "i2c"];
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user