home/firefox: switch up extension forks/versions
This commit is contained in:
parent
e75c609d44
commit
9a4d9a7330
|
@ -56,9 +56,9 @@
|
||||||
vimium-c
|
vimium-c
|
||||||
youtube-shorts-block
|
youtube-shorts-block
|
||||||
] ++ (with pkgs.firefox-addons; [
|
] ++ (with pkgs.firefox-addons; [
|
||||||
fastforward
|
fastforwardteam
|
||||||
middle-mouse-button-scroll
|
middle-mouse-button-scroll
|
||||||
yomichan
|
rikaitan
|
||||||
youtube-nonstop
|
youtube-nonstop
|
||||||
]);
|
]);
|
||||||
};
|
};
|
||||||
|
|
|
@ -54,6 +54,10 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
services.kdeconnect.enable = true;
|
services.kdeconnect.enable = true;
|
||||||
|
systemd.user.services.kdeconnect.Service = {
|
||||||
|
Restart = lib.mkForce "always";
|
||||||
|
RestartSec = "30";
|
||||||
|
};
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "${pkgs.proton-ge}";
|
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "${pkgs.proton-ge}";
|
||||||
CARGO_PROFILE_DEV_INCREMENTAL = "true";
|
CARGO_PROFILE_DEV_INCREMENTAL = "true";
|
||||||
|
|
|
@ -13,21 +13,6 @@
|
||||||
},
|
},
|
||||||
"version": "c30a1caf8274af67bf31f3fb5abc45df5737df36"
|
"version": "c30a1caf8274af67bf31f3fb5abc45df5737df36"
|
||||||
},
|
},
|
||||||
"fastforward": {
|
|
||||||
"cargoLocks": null,
|
|
||||||
"date": null,
|
|
||||||
"extract": null,
|
|
||||||
"name": "fastforward",
|
|
||||||
"passthru": null,
|
|
||||||
"pinned": false,
|
|
||||||
"src": {
|
|
||||||
"name": null,
|
|
||||||
"sha256": "sha256-mrWvbjqUphMKi8ItRFSmRAzMyzsqB9rJbZFm+I7ocSc=",
|
|
||||||
"type": "url",
|
|
||||||
"url": "https://github.com/FastForwardTeam/FastForward/releases/download/0.2237/fastforwardteam-0.2237.xpi"
|
|
||||||
},
|
|
||||||
"version": "0.2237"
|
|
||||||
},
|
|
||||||
"proton-ge": {
|
"proton-ge": {
|
||||||
"cargoLocks": null,
|
"cargoLocks": null,
|
||||||
"date": null,
|
"date": null,
|
||||||
|
@ -57,4 +42,4 @@
|
||||||
},
|
},
|
||||||
"version": "ce270961e82585971579844c64d7cde5f5d855ec"
|
"version": "ce270961e82585971579844c64d7cde5f5d855ec"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,14 +10,6 @@
|
||||||
};
|
};
|
||||||
date = "2022-12-13";
|
date = "2022-12-13";
|
||||||
};
|
};
|
||||||
fastforward = {
|
|
||||||
pname = "fastforward";
|
|
||||||
version = "0.2237";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://github.com/FastForwardTeam/FastForward/releases/download/0.2237/fastforwardteam-0.2237.xpi";
|
|
||||||
sha256 = "sha256-mrWvbjqUphMKi8ItRFSmRAzMyzsqB9rJbZFm+I7ocSc=";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
proton-ge = {
|
proton-ge = {
|
||||||
pname = "proton-ge";
|
pname = "proton-ge";
|
||||||
version = "GE-Proton8-16";
|
version = "GE-Proton8-16";
|
||||||
|
|
|
@ -121,6 +121,6 @@ in
|
||||||
qemu = pkgs'.qemu_7;
|
qemu = pkgs'.qemu_7;
|
||||||
stdenv = pkgs'.ccacheStdenv;
|
stdenv = pkgs'.ccacheStdenv;
|
||||||
};
|
};
|
||||||
gimp = callPackage ./gimp.nix { inherit (pkgs) gimp; };
|
gimp = callPackage ./gimp { inherit (pkgs) gimp; };
|
||||||
}
|
}
|
||||||
// (import ../system/hardware/bpi-r3/pkgs.nix { inherit pkgs pkgs' lib sources; })
|
// (import ../system/hardware/bpi-r3/pkgs.nix { inherit pkgs pkgs' lib sources; })
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
[
|
[
|
||||||
{
|
{ "slug": "fastforwardteam" },
|
||||||
"slug": "youtube-nonstop"
|
{ "slug": "middle-mouse-button-scroll" },
|
||||||
},
|
{ "slug": "rikaitan" },
|
||||||
{
|
{ "slug": "youtube-nonstop" }
|
||||||
"slug": "middle-mouse-button-scroll"
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
|
|
|
@ -1,51 +1,29 @@
|
||||||
{ pkgs
|
{ lib
|
||||||
, lib
|
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
, nur
|
, nur
|
||||||
, sources
|
# , pkgs
|
||||||
, ... }:
|
, ... }:
|
||||||
|
|
||||||
let
|
# let
|
||||||
buildExtension = { pname, version, src, id, meta ? { } }: pkgs.stdenvNoCC.mkDerivation {
|
# buildExtension = { pname, version, src, id, meta ? { } }: pkgs.stdenvNoCC.mkDerivation {
|
||||||
inherit pname version src meta;
|
# inherit pname version src meta;
|
||||||
preferLocalBuild = true;
|
# preferLocalBuild = true;
|
||||||
allowSubstitutes = true;
|
# allowSubstitutes = true;
|
||||||
buildCommand = ''
|
# buildCommand = ''
|
||||||
dst="$out/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
# dst="$out/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
|
||||||
mkdir -p "$dst"
|
# mkdir -p "$dst"
|
||||||
install -v -m644 "$src" "$dst/"'${id}'
|
# install -v -m644 "$src" "$dst/"'${id}'
|
||||||
'';
|
# '';
|
||||||
};
|
# };
|
||||||
in
|
# <ext> = buildExtension {
|
||||||
(import ./generated.nix {
|
# inherit (sources.<ext>) pname version src;
|
||||||
|
# id = "<addon id>";
|
||||||
|
# meta = with lib; { platforms = platforms.all; };
|
||||||
|
# };
|
||||||
|
# in
|
||||||
|
|
||||||
|
import ./generated.nix {
|
||||||
inherit lib stdenv fetchurl;
|
inherit lib stdenv fetchurl;
|
||||||
inherit (nur.repos.rycee.firefox-addons) buildFirefoxXpiAddon;
|
inherit (nur.repos.rycee.firefox-addons) buildFirefoxXpiAddon;
|
||||||
}) // {
|
|
||||||
# this is no longer maintained, hardcode last released version
|
|
||||||
yomichan = buildExtension {
|
|
||||||
pname = "yomichan";
|
|
||||||
version = "22.10.23.0";
|
|
||||||
src = fetchurl {
|
|
||||||
url = "https://github.com/FooSoft/yomichan/releases/download/22.10.23.0/yomichan-firefox-dev.xpi";
|
|
||||||
sha256 = "sha256-l70wVXHEArifukDelZeoVxIyP2Crs6QZSD/kFdEml/8=";
|
|
||||||
};
|
|
||||||
id = "alex.testing@foosoft.net.xpi";
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://foosoft.net/projects/yomichan";
|
|
||||||
description = "Yomichan turns your browser into a tool for building Japanese language literacy by helping you to decipher texts which would be otherwise too difficult tackle. It features a robust dictionary with EPWING and flashcard creation support";
|
|
||||||
license = licenses.gpl3;
|
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
fastforward = buildExtension {
|
|
||||||
inherit (sources.fastforward) pname version src;
|
|
||||||
id = "addon@fastforward.team";
|
|
||||||
meta = with lib; {
|
|
||||||
homepage = "https://fastforward.team";
|
|
||||||
description = "Don't waste time with compliance. Use FastForward to skip annoying URL \"shorteners\"";
|
|
||||||
license = licenses.unlicense;
|
|
||||||
platforms = platforms.all;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,26 @@
|
||||||
{ buildFirefoxXpiAddon, fetchurl, lib, stdenv }:
|
{ buildFirefoxXpiAddon, fetchurl, lib, stdenv }:
|
||||||
{
|
{
|
||||||
|
"fastforwardteam" = buildFirefoxXpiAddon {
|
||||||
|
pname = "fastforwardteam";
|
||||||
|
version = "0.2334";
|
||||||
|
addonId = "addon@fastforward.team";
|
||||||
|
url = "https://addons.mozilla.org/firefox/downloads/file/4177101/fastforwardteam-0.2334.xpi";
|
||||||
|
sha256 = "d790219622469f08316b41c0d01abf2b584a37fa87b45666a74bd30cffb95ed0";
|
||||||
|
meta = with lib;
|
||||||
|
{
|
||||||
|
homepage = "https://fastforward.team";
|
||||||
|
description = "Don't waste time with compliance. Use FastForward to skip annoying URL \"shorteners\".";
|
||||||
|
mozPermissions = [
|
||||||
|
"alarms"
|
||||||
|
"storage"
|
||||||
|
"webNavigation"
|
||||||
|
"tabs"
|
||||||
|
"declarativeNetRequestWithHostAccess"
|
||||||
|
"<all_urls>"
|
||||||
|
];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
};
|
||||||
"middle-mouse-button-scroll" = buildFirefoxXpiAddon {
|
"middle-mouse-button-scroll" = buildFirefoxXpiAddon {
|
||||||
pname = "middle-mouse-button-scroll";
|
pname = "middle-mouse-button-scroll";
|
||||||
version = "0.3.2";
|
version = "0.3.2";
|
||||||
|
@ -10,6 +31,33 @@
|
||||||
{
|
{
|
||||||
homepage = "https://github.com/StoyanDimitrov/middle-mouse-button-scroll";
|
homepage = "https://github.com/StoyanDimitrov/middle-mouse-button-scroll";
|
||||||
description = "Scroll fast or precise through long documents with pressed middle mouse button";
|
description = "Scroll fast or precise through long documents with pressed middle mouse button";
|
||||||
|
mozPermissions = [ "*://*/*" ];
|
||||||
|
platforms = platforms.all;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
"rikaitan" = buildFirefoxXpiAddon {
|
||||||
|
pname = "rikaitan";
|
||||||
|
version = "23.9.25.1";
|
||||||
|
addonId = "tatsu@autistici.org";
|
||||||
|
url = "https://addons.mozilla.org/firefox/downloads/file/4172402/rikaitan-23.9.25.1.xpi";
|
||||||
|
sha256 = "d954f90939455dd52ce161729d7175fac63cf10daea386a1eab34529e03c8f29";
|
||||||
|
meta = with lib;
|
||||||
|
{
|
||||||
|
homepage = "https://github.com/Ajatt-Tools/rikaitan";
|
||||||
|
description = "Japanese dictionary with Anki integration. \n\nThis project is a community-driven fork of Yomichan, which is no longer maintained.";
|
||||||
|
license = licenses.lgpl3;
|
||||||
|
mozPermissions = [
|
||||||
|
"<all_urls>"
|
||||||
|
"storage"
|
||||||
|
"clipboardWrite"
|
||||||
|
"unlimitedStorage"
|
||||||
|
"webRequest"
|
||||||
|
"webRequestBlocking"
|
||||||
|
"nativeMessaging"
|
||||||
|
"http://*/*"
|
||||||
|
"https://*/*"
|
||||||
|
"file://*/*"
|
||||||
|
];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -24,6 +72,10 @@
|
||||||
homepage = "https://github.com/lawfx/YoutubeNonStop";
|
homepage = "https://github.com/lawfx/YoutubeNonStop";
|
||||||
description = "Tired of getting that \"Video paused. Continue watching?\" confirmation dialog?\nThis extension autoclicks it, so you can listen to your favorite music uninterrupted.\n\nWorking on YouTube and YouTube Music!";
|
description = "Tired of getting that \"Video paused. Continue watching?\" confirmation dialog?\nThis extension autoclicks it, so you can listen to your favorite music uninterrupted.\n\nWorking on YouTube and YouTube Music!";
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
mozPermissions = [
|
||||||
|
"https://www.youtube.com/*"
|
||||||
|
"https://music.youtube.com/*"
|
||||||
|
];
|
||||||
platforms = platforms.all;
|
platforms = platforms.all;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,12 +2,6 @@
|
||||||
src.github = "GloriousEggroll/proton-ge-custom"
|
src.github = "GloriousEggroll/proton-ge-custom"
|
||||||
fetch.url = "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/$ver/$ver.tar.gz"
|
fetch.url = "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/$ver/$ver.tar.gz"
|
||||||
|
|
||||||
[fastforward]
|
|
||||||
# allow prereleases
|
|
||||||
src.github_tag = "FastForwardTeam/FastForward"
|
|
||||||
src.use_commit = true
|
|
||||||
fetch.url = "https://github.com/FastForwardTeam/FastForward/releases/download/$ver/fastforwardteam-$ver.xpi"
|
|
||||||
|
|
||||||
# nix-prefetch doesnt work with git right now for some reason, whatever
|
# nix-prefetch doesnt work with git right now for some reason, whatever
|
||||||
[atf-bpir3]
|
[atf-bpir3]
|
||||||
src.git = "https://github.com/frank-w/u-boot.git"
|
src.git = "https://github.com/frank-w/u-boot.git"
|
||||||
|
|
Loading…
Reference in a new issue