Add browsers/vimb module (does not work!)
This commit is contained in:
parent
fac2bb74f3
commit
9103a582d6
|
@ -25,6 +25,7 @@
|
|||
browsers.default = "firefox";
|
||||
browsers.firefox.enable = true;
|
||||
# browsers.qutebrowser.enable = true;
|
||||
# browsers.vimb.enable = true;
|
||||
|
||||
# gaming.emulators.psx.enable = true;
|
||||
# gaming.steam.enable = true;
|
||||
|
|
|
@ -4,6 +4,7 @@ with lib;
|
|||
imports = [
|
||||
./firefox.nix
|
||||
./qutebrowser.nix
|
||||
./vimb.nix
|
||||
./vivaldi.nix
|
||||
];
|
||||
|
||||
|
|
28
modules/desktop/browsers/vimb.nix
Normal file
28
modules/desktop/browsers/vimb.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
# NOTE pkgs.vimb is unmaintained and broken on nixos. This module doesn't work,
|
||||
# and only exists for posterity. Don't use it!
|
||||
|
||||
{ config, options, lib, pkgs, ... }:
|
||||
with lib;
|
||||
{
|
||||
options.modules.desktop.browsers.vimb = {
|
||||
enable = mkOption {
|
||||
type = types.bool;
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf config.modules.desktop.browsers.vimb.enable {
|
||||
my.packages = with pkgs; [
|
||||
vimb
|
||||
tabbed
|
||||
(makeDesktopItem {
|
||||
name = "vimb-private";
|
||||
desktopName = "Vimb (Private)";
|
||||
genericName = "Open an incognito Vimb window";
|
||||
icon = "vim";
|
||||
exec = "${firefox-bin}/bin/vimb --incognito";
|
||||
categories = "Network";
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue