diff options
| author | Grisha Shipunov | 2025-04-01 18:16:36 +0200 |
|---|---|---|
| committer | Grisha Shipunov | 2025-04-01 18:16:36 +0200 |
| commit | 8d483bdd1d0ad22766dfdc328a4044d155d3b5b2 (patch) | |
| tree | 6ef1962dbbdb5e84d0c409e2f8a67e1d363892ca /hosts | |
| parent | eb4c98a5c848fd1759a0b36a7891ff6f229ab40d (diff) | |
enable ddcutil brigtness control
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/toaster/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/hosts/toaster/default.nix b/hosts/toaster/default.nix index 1a3216a..7e78114 100644 --- a/hosts/toaster/default.nix +++ b/hosts/toaster/default.nix @@ -46,6 +46,11 @@ supportedLocales = [ "all" ]; }; + # support ddc brigtness control + hardware.i2c.enable = true; + boot.kernelModules = [ "i2c-dev" ]; + environment.systemPackages = [ pkgs.ddcutil ]; + users.users."0xa" = { extraGroups = [ "wheel" @@ -55,6 +60,7 @@ "bluetooth" "libvirtd" "qemu-libvirtd" + "i2c" ]; group = "users"; home = "/home/0xa"; |
