helm/modules/browser/vivaldi.nix

22 lines
520 B
Nix
Raw Normal View History

2020-01-14 05:25:14 -08:00
{ config, lib, pkgs, ... }:
{
my.packages = with pkgs; [
vivaldi
vivaldi-widevine
(pkgs.writeScriptBin "vivaldi-private" ''
#!${stdenv.shell}
${vivaldi}/bin/vivaldi --incognito "$@"
'')
(makeDesktopItem {
name = "vivaldi-private";
desktopName = "Vivaldi (Incognito)";
genericName = "Open an incognito Vivaldi window";
icon = "vivaldi";
exec = "${vivaldi}/bin/vivaldi --incognito";
categories = "Network";
})
2020-01-14 05:25:14 -08:00
];
my.env.BROWSER = "vivaldi";
}