Chromium: Difference between revisions
m Add the tvar tag to the external links that were overlooked. |
Marked this version for translation |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 178: | Line 178: | ||
}; | }; | ||
</syntaxhighlight> | </syntaxhighlight> | ||
<translate> | |||
== Add support for Brave Browser in Profile Sync daemon == <!--T:27--> | |||
<!--T:28--> | |||
Adding Brave Browser support to Profile Sync daemon can be automated with an overlay. | |||
</translate> | |||
<syntaxhighlight lang="nix"> | |||
# /etc/nixos/configuration.nix | |||
{ | |||
nixpkgs = { | |||
overlays = [ | |||
(final: prev: { | |||
profile-sync-daemon = prev.profile-sync-daemon.overrideAttrs (oldAttrs: { | |||
installPhase = | |||
oldAttrs.installPhase | |||
+ '' | |||
cp $out/share/psd/{contrib,browsers}/brave | |||
''; | |||
}); | |||
}) | |||
]; | |||
}; | |||
# Enable the Profile Sync daemon service. | |||
services.psd.enable = true; | |||
} | |||
</syntaxhighlight> | |||
[[Category:Applications]] | [[Category:Applications]] | ||
[[Category:Web Browser{{#translation:}}]] | [[Category:Web Browser{{#translation:}}]] | ||