From 23616c2e13f63f0262d64538032b98ce83cc0ec2 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Wed, 15 Jul 2026 20:32:36 +0530 Subject: feat: renamed the options to reflect their changed directory stucture Renamed the options for the configurations based on the sub-module that they belong to --- modules/system/brightnessctl/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/system/brightnessctl/default.nix') diff --git a/modules/system/brightnessctl/default.nix b/modules/system/brightnessctl/default.nix index cea3517..b95ddb4 100644 --- a/modules/system/brightnessctl/default.nix +++ b/modules/system/brightnessctl/default.nix @@ -7,12 +7,12 @@ # brightnessctl - Backlight brightness control tool { - options.programs.brightnessctl = { + options.system.brightnessctl = { enable = lib.mkEnableOption "Enables brightnessctl."; package = lib.mkPackageOption pkgs "brightnessctl" { }; }; - config = lib.mkIf config.programs.brightnessctl.enable { - home.packages = [ config.programs.brightnessctl.package ]; + config = lib.mkIf config.system.brightnessctl.enable { + home.packages = [ config.system.brightnessctl.package ]; }; } -- cgit v1.2.3