prepare for multiple home-manager configs

This commit is contained in:
2025-01-16 10:43:56 -06:00
parent ee5e3ae9b0
commit 945e3765e8
65 changed files with 59 additions and 36 deletions

View File

@@ -0,0 +1,42 @@
{ 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 = {
search = {
default = "DuckDuckGo";
privateDefault = "DuckDuckGo";
};
bookmarks = [
{
name = "toolbar";
toolbar = true;
bookmarks = [
{
name = "NixOS Search - Packages";
url = "https://search.nixos.org/packages";
}
];
}
];
extensions = with inputs.firefox-addons.packages.${pkgs.system}; [
ublock-origin
keepassxc-browser
pywalfox
];
};
};
};
}