mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-11 13:31:03 -05:00
27 lines
727 B
Nix
27 lines
727 B
Nix
{ config, pkgs, lib, ... }:
|
|
{
|
|
options = {
|
|
firefox = {
|
|
enable = lib.mkEnableOption {
|
|
description = "Enable Firefox";
|
|
default = false;
|
|
};
|
|
};
|
|
};
|
|
config = lib.mkIf (config.gui.enable && config.firefox.enable) {
|
|
home-manager.users.${config.user} = {
|
|
programs.firefox = {
|
|
enable = true;
|
|
policies = {
|
|
ExtensionSettings = {
|
|
"{446900e4-71c2-419f-a6a7-df9c091e268b}" = {
|
|
install_url = "https://addons.mozilla.org/firefox/downloads/latest/bitwarden-password-manager/latest.xpi";
|
|
installation_mode = "normal_installed";
|
|
default_area = "navbar";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
}
|