helm/modules/browser/vivaldi.nix
Henrik Lissner 372c05e789
vivaldi: add vivaldi-widevine
For netflix goodness
2020-01-19 23:58:38 -05:00

22 lines
520 B
Nix

{ 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";
})
];
my.env.BROWSER = "vivaldi";
}