mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-22 04:34:25 +01:00
Improve deUtils dependency management
This commit is contained in:
parent
206c43f71a
commit
1f8cadb2dc
6 changed files with 32 additions and 9 deletions
13
modules/home/de-utils/brightnessctl.nix
Normal file
13
modules/home/de-utils/brightnessctl.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.myConfig.deUtils.brightnessctl.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.myConfig.deUtils.brightnessctl.enable {
|
||||
home.packages = [ pkgs.brightnessctl ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue