2020-01-14 05:25:14 -08:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
my.packages = with pkgs; [
|
|
|
|
vivaldi
|
2020-01-19 20:58:38 -08:00
|
|
|
vivaldi-widevine
|
2020-01-17 16:36:39 -08:00
|
|
|
(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";
|
|
|
|
}
|