about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2024-10-23 23:31:06 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2024-10-23 23:31:06 +0200
commitff80d6cae5edb49c8d257ab4687170b92affe086 (patch)
treeef947cdb57b36511c607c8a0211a944af3ce8795
parent10dad4f3117a64893df756acc017abc25d563694 (diff)
downloaddots-ff80d6cae5edb49c8d257ab4687170b92affe086.tar.gz
dots-ff80d6cae5edb49c8d257ab4687170b92affe086.zip
t14: 90 current 2024-10-23 23:31:00 24.05.20241004.6e6b3dd 6.6.54 *
-rw-r--r--home.nix15
1 files changed, 11 insertions, 4 deletions
diff --git a/home.nix b/home.nix
index 10e5c0c..84d1e3c 100644
--- a/home.nix
+++ b/home.nix
@@ -29,10 +29,17 @@ in
   home.username = "pn";
   home.homeDirectory = "/home/pn";
 
-  programs.chromium.enable = true;
-  programs.chromium.extensions = [
-    { id = "fjcldmjmjhkklehbacihaiopjklihlgg"; }
-  ];
+  programs.brave = {
+    enable = true;
+    package = pkgs.brave.overrideAttrs (oldAttrs: {
+      commandLineArgs = [
+        "--profile-directory=${config.home.homeDirectory}/.config/BraveSoftware/Brave-Browser/Default"
+      ];
+    });
+    extensions = [
+      { id = "fjcldmjmjhkklehbacihaiopjklihlgg"; }
+    ];
+  };
 
   xdg.userDirs = {
     enable = true;