Initial commit
This commit is contained in:
30
home-manager-modules/firefox.nix
Normal file
30
home-manager-modules/firefox.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{ config, lib, inputs, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.firefox;
|
||||
ext = inputs.firefox-addons.packages.${pkgs.system};
|
||||
in
|
||||
{
|
||||
options = {
|
||||
firefox.enable = lib.mkEnableOption "enable firefox module";
|
||||
};
|
||||
|
||||
config.programs.firefox = lib.mkIf cfg.enable {
|
||||
enable = true;
|
||||
profiles.default = {
|
||||
|
||||
bookmarks = [
|
||||
{
|
||||
name = "Wikipedia";
|
||||
tags = ["wiki"];
|
||||
url = "https://en.wikipedia.org";
|
||||
}
|
||||
];
|
||||
|
||||
extensions = [
|
||||
# ext."1password-x-password-manager"
|
||||
ext.ublock-origin
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user