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/web/brave/default.nix | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'modules/web/brave/default.nix') diff --git a/modules/web/brave/default.nix b/modules/web/brave/default.nix index 936da6a..e323058 100644 --- a/modules/web/brave/default.nix +++ b/modules/web/brave/default.nix @@ -6,8 +6,13 @@ }: { - config = lib.mkIf config.programs.brave.enable { + options.web.brave = { + enable = lib.mkEnableOption "Enables brave."; + }; + + config = lib.mkIf config.web.brave.enable { programs.brave = { + enable = true; package = pkgs.brave; commandLineArgs = [ @@ -16,10 +21,10 @@ ]; extensions = [ - { id = "nngceckbapebfimnlniiiahkandclblb"; } # Bitwarden - { id = "mpkodccbngfoacfalldjimigbofkhgjn"; } # Aria2 Explorer - { id = "eimadpbcbfnmbkopoojfekhnkhdbieeh"; } # Dark Reader - { id = "hpejmncgbammabkkodflfeekpcicfjnk"; } # Quite Black + { id = "nngceckbapebfimnlniiiahkandclblb"; } + { id = "mpkodccbngfoacfalldjimigbofkhgjn"; } + { id = "eimadpbcbfnmbkopoojfekhnkhdbieeh"; } + { id = "hpejmncgbammabkkodflfeekpcicfjnk"; } ]; }; -- cgit v1.2.3