flake/home/applications/firefox/default.nix
2024-02-16 01:03:59 +08:00

18 lines
454 B
Nix

{pkgs, ...}: {
programs.firefox = {
enable = true;
profiles."default" = {
extraConfig = ''
${builtins.readFile (pkgs.fetchurl {
url = "https://raw.githubusercontent.com/arkenfox/user.js/122.0/user.js";
hash = "sha256-H3Nk5sDxSElGRgK+cyQpVyjtlMF2Okxbstu9A+eJtGk=";
})}
${builtins.readFile ./user-overrides.js}
'';
};
};
home.sessionVariables = {
MOZ_USE_XINPUT2 = "1";
};
}