add: backlight.nix
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
{
|
||||
pkgs,
|
||||
myConfig,
|
||||
...
|
||||
}: {
|
||||
hardware.i2c.enable = true;
|
||||
environment.systemPackages = with pkgs; [ddcutil];
|
||||
users.users.${myConfig.nixos.username}.extraGroups = ["i2c"];
|
||||
}
|
||||
Reference in New Issue
Block a user