flake/home/applications/firefox/default.nix

19 lines
529 B
Nix
Raw Normal View History

2024-02-13 20:36:41 +00:00
{pkgs, ...}: {
programs.firefox = {
enable = true;
2024-06-21 02:58:52 +00:00
package = pkgs.firefox.override {
extraPrefsFiles = [
(pkgs.fetchurl {
2024-06-11 17:00:11 +00:00
url = "https://raw.githubusercontent.com/arkenfox/user.js/126.1/user.js";
hash = "sha256-XRtG0iLKh8uqbeX7Rc2H6VJwZYJoNZPBlAfZEfrSCP4=";
2024-06-21 02:58:52 +00:00
})
# FIXME: why I cannot use `[./user-overrides.js]`?
(pkgs.runCommand "userjs" {} ''
install -Dm644 ${./user-overrides.js} $out
'')
];
};
2024-06-21 02:58:52 +00:00
profiles."default" = {};
2024-01-09 19:36:50 +00:00
};
2023-11-05 12:50:08 +00:00
}