From a05e7c5fcf2556ce90a6a56cec23e167df21d5dd Mon Sep 17 00:00:00 2001 From: Rei Meliesie Date: Tue, 29 Sep 2026 12:11:23 +0200 Subject: [PATCH] Switch to standard NixOS I2C module, give user account access --- graphical.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/graphical.nix b/graphical.nix index 898c191..8ced427 100644 --- a/graphical.nix +++ b/graphical.nix @@ -3,13 +3,18 @@ { boot = { consoleLogLevel = 0; - # For ddcutil. - kernelModules = [ "i2c-dev" ]; kernelParams = [ "splash" "quiet" ]; plymouth.enable = true; }; - hardware.bluetooth.enable = true; + # For ddcutil. + users.users.rei.extraGroups = [ "i2c" ]; + + hardware = { + bluetooth.enable = true; + # For ddcutil. + i2c.enable = true; + }; environment.systemPackages = with pkgs; [ adw-gtk3