mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-11 17:36:07 +08:00
Add ddcutil
This commit is contained in:
parent
c6a6c82bf9
commit
12ff5b0ae4
3 changed files with 14 additions and 0 deletions
5
.vscode/extensions.json
vendored
Normal file
5
.vscode/extensions.json
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"recommendations": [
|
||||
"bbenoist.nix"
|
||||
]
|
||||
}
|
||||
|
|
@ -14,6 +14,7 @@
|
|||
./p71/configuration.nix
|
||||
./modules/passwordstore.nix
|
||||
./modules/protonmail-bridge.nix
|
||||
./modules/monitor-brightness.nix
|
||||
|
||||
# home-manager configuration
|
||||
home-manager.nixosModules.home-manager
|
||||
|
|
|
|||
8
modules/monitor-brightness.nix
Normal file
8
modules/monitor-brightness.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, ... }: {
|
||||
# ddcutils requires i2c
|
||||
boot.kernelModules = [ "i2c-dev" ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
ddcutil
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue