From ff80d6cae5edb49c8d257ab4687170b92affe086 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Wed, 23 Oct 2024 23:31:06 +0200 Subject: t14: 90 current 2024-10-23 23:31:00 24.05.20241004.6e6b3dd 6.6.54 * --- home.nix | 15 +++++++++++---- 1 file 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; -- cgit 1.4.1