enable ddcutil brigtness control
This commit is contained in:
parent
eb4c98a5c8
commit
8d483bdd1d
1 changed files with 6 additions and 0 deletions
|
@ -46,6 +46,11 @@
|
||||||
supportedLocales = [ "all" ];
|
supportedLocales = [ "all" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# support ddc brigtness control
|
||||||
|
hardware.i2c.enable = true;
|
||||||
|
boot.kernelModules = [ "i2c-dev" ];
|
||||||
|
environment.systemPackages = [ pkgs.ddcutil ];
|
||||||
|
|
||||||
users.users."0xa" = {
|
users.users."0xa" = {
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"wheel"
|
"wheel"
|
||||||
|
@ -55,6 +60,7 @@
|
||||||
"bluetooth"
|
"bluetooth"
|
||||||
"libvirtd"
|
"libvirtd"
|
||||||
"qemu-libvirtd"
|
"qemu-libvirtd"
|
||||||
|
"i2c"
|
||||||
];
|
];
|
||||||
group = "users";
|
group = "users";
|
||||||
home = "/home/0xa";
|
home = "/home/0xa";
|
||||||
|
|
Loading…
Add table
Reference in a new issue