Switch to standard NixOS I2C module, give user account access
This commit is contained in:
parent
447fcad211
commit
a05e7c5fcf
1 changed files with 8 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue