about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2024-10-23 23:50:16 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2024-10-23 23:50:16 +0200
commitaa863bedca8a763618d06ce203bab20d9484a9eb (patch)
tree9555dcade1b588a156c3d44e39d5ee5cd603db06
parent3013c17932789b09e927c6fd560b304e94678cf9 (diff)
downloaddots-aa863bedca8a763618d06ce203bab20d9484a9eb.tar.gz
dots-aa863bedca8a763618d06ce203bab20d9484a9eb.zip
t14: 93 current 2024-10-23 23:50:11 24.05.20241004.6e6b3dd 6.6.54 *
-rw-r--r--modules/gnome.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/modules/gnome.nix b/modules/gnome.nix
index 68d3a31..0c45130 100644
--- a/modules/gnome.nix
+++ b/modules/gnome.nix
@@ -117,9 +117,10 @@ in
 		gnomeExtensions.hibernate-status-button
 		#brave #specified in home.nix
             	(pkgs.brave.overrideAttrs (oldAttrs: {
-                  commandLineArgs = [
-                    "--profile-directory=$HOME/.config/BraveSoftware/Brave-Browser/Default"
-                  ];
+		  installPhase = oldAttrs.installPhase + ''
+		  	substituteInPlace $out/share/applications/brave-browser.desktop \
+			--replace %U "%U --profile-directory=$HOME/.config/BraveSoftware/Brave-Browser/Default"
+		  '';
                 }))
 
 		newsflash