added firefox config

This commit is contained in:
2024-10-24 21:51:16 -05:00
parent 77b7c16edc
commit 403fa89c5c
6 changed files with 45 additions and 9 deletions

View File

@@ -0,0 +1,32 @@
{ config, lib, pkgs, inputs, ... }: {
options.homeconfig.firefox.enable = lib.options.mkOption {
type = lib.types.bool;
default = false;
};
config = lib.mkIf config.homeconfig.firefox.enable {
programs.firefox = {
enable = true;
package = pkgs.firefox-wayland;
profiles.nathan = {
bookmarks = [
{
name = "NixOS Search - Packages";
url = "https://search.nixos.org/packages";
}
];
extensions = with inputs.firefox-addons.packages.${pkgs.system}; [
ublock-origin
keepassxc-browser
];
};
};
};
}