sigprof / nur-packages Goto Github PK
View Code? Open in Web Editor NEWMy personal NUR repository
License: MIT License
My personal NUR repository
License: MIT License
for better visibility
Hello!
I hope you are doing well!
We are a security research team. Our tool automatically detected a vulnerability in this repository. We want to disclose it responsibly. GitHub has a feature called Private vulnerability reporting, which enables security research to privately disclose a vulnerability. Unfortunately, it is not enabled for this repository.
Can you enable it, so that we can report it?
Thanks in advance!
PS: you can read about how to enable private vulnerability reporting here: https://docs.github.com/en/code-security/security-advisories/repository-security-advisories/configuring-private-vulnerability-reporting-for-a-repository
The way the langpacks are currently installed, Firefox is unable to find them by default.
They get installed to share/mozilla/extensions/...
as defined in
However, I believe the correct path for the applications to pick up the extensions automatically is lib/${mozAppName}/browser/extensions/${addonId}.xpi
for the Firefox packages and lib/${mozAppName}/extensions/${addonId}.xpi
for Thunderbird, so this requires some additional logic for the path. Please note that I haven't actually tried this, but rather deducted from the current filesystem layout and how other distributions do it.
Anyone looking for a temporary solution to have Firefox pick up this package automatically, a workaround is the following:
programs.firefox = {
enable = true;
package = pkgs.firefox;
policies = {
"ExtensionSettings" = {
"[email protected]" = {
"installation_mode" = "force_installed";
"install_url" = "file:///run/current-system/sw/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/[email protected]";
};
};
"RequestedLocales" = "de,en-US";
};
};
or, in a slightly more Nix way:
programs.firefox.policies.ExtensionSettings."[email protected]" = {
"installation_mode" = "force_installed";
"install_url" = "file://${config.nur.repos.sigprof.firefox-langpack-de}/share/mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}/[email protected]";
};
The latter doesn't need a package in environment.systemPackages.
This will set your Firefox to German by default. However, this copies the xpi file to the respective profile instead of just using the one available on the system directly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.