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

@@ -23,7 +23,6 @@
lxqt.lxqt-policykit
blueberry
wl-clipboard
firefox-wayland
xfce.thunar
grim
slurp

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
];
};
};
};
}

View File

@@ -21,12 +21,13 @@
imports = [
inputs.ags.hmModule
inputs.hyprland.hmModule
./terminal
./terminal
inputs.rofi.hmModule
inputs.pywal.hmModule
./swaylock
./calcurse
./wayvnc
./firefox
];
home.packages = [