Vivaldi: Difference between revisions
Added example of modifying vivaldi to force specific password store |
m Clean up + link to Adding programs to PATH Tags: Mobile edit Mobile web edit Visual edit |
||
| Line 2: | Line 2: | ||
== Installation == | == Installation == | ||
Simply [[Adding programs to PATH|install]] the <code>vivaldi</code> package. | |||
== Get it working with | == Get it working with KDE Plasma 6 == | ||
Currently | Currently Vivaldi crashes at startup on KDE Plasma 6 due to improper packaging.<ref>https://github.com/NixOS/nixpkgs/pull/292148 | ||
https://github.com/NixOS/nixpkgs/issues/310755</ref> | https://github.com/NixOS/nixpkgs/issues/310755</ref> A workaround for this is to override the package attributes like the following.<syntaxhighlight lang="nix"> | ||
(vivaldi.overrideAttrs | (vivaldi.overrideAttrs (oldAttrs: { | ||
dontWrapQtApps = false; | |||
dontPatchELF = true; | |||
nativeBuildInputs = oldAttrs.nativeBuildInputs ++ [pkgs.kdePackages.wrapQtAppsHook]; | |||
})) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
== Force use of password store ( | == Force use of password store (KWallet, GNOME Keyring) == | ||
To force of specific password store you will have to | To force of specific password store you will have to use flags according to [https://chromium.googlesource.com/chromium/src/+/master/docs/linux/password_storage.md chromium docs]. | ||
Use <code>gnome-libsecret</code> for GNOME Keyring and <code>kwallet6</code> for KDE Plasma 6<syntaxhighlight lang="nix"> | Below is an example that modifies the package attributes. Use <code>gnome-libsecret</code> for GNOME Keyring and <code>kwallet6</code> for KDE Plasma 6<syntaxhighlight lang="nix"> | ||
( | (vivaldi.override { | ||
commandLineArgs = "--password-store=kwallet6"; | commandLineArgs = "--password-store=kwallet6"; | ||
}) | }) | ||