ddcutil to control external display brightness
This commit is contained in:
@@ -7,6 +7,7 @@
|
|||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
ddcutil
|
||||||
nix-search-cli
|
nix-search-cli
|
||||||
alacritty
|
alacritty
|
||||||
yazi
|
yazi
|
||||||
|
|||||||
@@ -14,6 +14,11 @@
|
|||||||
fontSize = 36;
|
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.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Moscow";
|
time.timeZone = "Europe/Moscow";
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
users.users.venya = {
|
users.users.venya = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Dmitry Chumak";
|
description = "Dmitry Chumak";
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" "i2c"];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user