-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Added Netflix Intro Skip firefox addon
- Loading branch information
Showing
1 changed file
with
38 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,28 +13,9 @@ let | |
types | ||
; | ||
inherit (lib.${namespace}) mkBoolOpt mkOpt; | ||
|
||
cfg = config.${namespace}.browsers.firefox; | ||
|
||
inherit (pkgs.nur.repos.rycee) firefox-addons; | ||
|
||
twitchnosub = | ||
let | ||
version = "0.7.1"; | ||
in | ||
firefox-addons.buildFirefoxXpiAddon { | ||
pname = "twitchnosub"; | ||
inherit version; | ||
addonId = "[email protected]"; | ||
url = "https://github.com/besuper/TwitchNoSub/releases/download/${version}/TwitchNoSub-firefox.${version}.xpi"; | ||
sha256 = "sha256-Z/KaWdJy6L/sZXUJlT3nyNnBOf21TxMrQHKxa3j2KD8="; | ||
meta = { | ||
homepage = "https://github.com/besuper/TwitchNoSub"; | ||
description = "An extension to watch sub only VOD on Twitch"; | ||
license = lib.licenses.asl20; | ||
platforms = lib.platforms.all; | ||
}; | ||
}; | ||
cfg = config.${namespace}.browsers.firefox; | ||
in | ||
{ | ||
options.${namespace}.browsers.firefox = with types; { | ||
|
@@ -62,7 +43,43 @@ in | |
seventv | ||
|
||
# My custom addons | ||
twitchnosub | ||
|
||
( | ||
let | ||
version = "0.7.1"; | ||
in | ||
buildFirefoxXpiAddon { | ||
pname = "twitchnosub"; | ||
inherit version; | ||
addonId = "[email protected]"; | ||
url = "https://github.com/besuper/TwitchNoSub/releases/download/${version}/TwitchNoSub-firefox.${version}.xpi"; | ||
sha256 = "sha256-Z/KaWdJy6L/sZXUJlT3nyNnBOf21TxMrQHKxa3j2KD8="; | ||
meta = { | ||
homepage = "https://github.com/besuper/TwitchNoSub"; | ||
description = "An extension to watch sub only VOD on Twitch"; | ||
license = lib.licenses.gpl3; | ||
platforms = lib.platforms.all; | ||
}; | ||
} | ||
) | ||
( | ||
let | ||
version = "1.3"; | ||
in | ||
buildFirefoxXpiAddon { | ||
pname = "skip-netflix-intro"; | ||
inherit version; | ||
addonId = "[email protected]"; | ||
url = "https://addons.mozilla.org/firefox/downloads/file/3898270/skip_netflix_intro-${version}.xpi"; | ||
sha256 = "sha256-fcoBZcMMrQi5kYh4k27DrlmnZ9lUMYcVwnkjxUPxYK4="; | ||
meta = { | ||
homepage = "https://addons.mozilla.org/fr/firefox/addon/skip-netflix-intro/"; | ||
description = "Addon to automatically skip intros on Netflix"; | ||
license = lib.licenses.asl20; | ||
platforms = lib.platforms.all; | ||
}; | ||
} | ||
) | ||
]) "Extensions to install."; | ||
|
||
policies = mkOpt attrs { | ||
|