nix-flakes/modules/home/firefox.nix
imnyang 70284509f3
Some checks failed
CI / check (push) Has been cancelled
CI / ida (push) Has been cancelled
CI / cpt (push) Has been cancelled
CI / build-nixos (ena) (push) Has been cancelled
CI / build-nixos (hako) (push) Has been cancelled
CI / build-nixos (kazusa) (push) Has been cancelled
CI / build-nixos (mizuki) (push) Has been cancelled
Initial commit
2026-07-03 16:53:49 +09:00

29 lines
866 B
Nix

{ pkgs, config, ... }:
{
programs.firefox = {
enable = true;
configPath = ".mozilla/firefox";
package = pkgs.firefox-devedition;
policies = {
Preferences = {
"widget.use-xdg-desktop-portal.file-picker" = {
Value = 1;
Status = "default";
};
"middlemouse.paste" = {
Value = false;
Status = "default";
};
};
ExtensionSettings = {
"figma-windows-ua-spoofer@imnyang.local" = {
installation_mode = "force_installed";
install_url = "https://git.mizuki.guru/imnyang/thisiswindowsfigma/releases/download/v1.0.0/d168a70cb6a24fe4a478-1.0.0.xpi";
};
};
};
};
home.file.".waterfox/native-messaging-hosts".source =
config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/.mozilla/native-messaging-hosts";
}