aboutsummaryrefslogtreecommitdiffstats
path: root/modules/web/brave/default.nix
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-15 20:32:36 +0530
committerArpit Chakladar <arpitchakladar+git@gmail.com>2026-07-15 20:32:36 +0530
commit23616c2e13f63f0262d64538032b98ce83cc0ec2 (patch)
tree3ea56e8c12c6735b5dddb34b5699c59c00066b0f /modules/web/brave/default.nix
parent01aaa7ad39c1fe8af6ffbca31abbab27dbfefc95 (diff)
downloadhome-manager-config-23616c2e13f63f0262d64538032b98ce83cc0ec2.tar.gz
home-manager-config-23616c2e13f63f0262d64538032b98ce83cc0ec2.zip
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
Diffstat (limited to 'modules/web/brave/default.nix')
-rw-r--r--modules/web/brave/default.nix15
1 files changed, 10 insertions, 5 deletions
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"; }
];
};