diff options
Diffstat (limited to 'modules/gnome.nix')
-rw-r--r-- | modules/gnome.nix | 7 |
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 |