install ublock origin firefox extension
This commit is contained in:
nixos 2023-09-08 08:42:54 +02:00
parent f54bbc6419
commit ea17daaa23
2 changed files with 13 additions and 2 deletions

View file

@ -5,6 +5,12 @@ let
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-${stateVersion}.tar.gz";
in
{
nixpkgs.config.packageOverrides = pkgs: {
nur = import (builtins.fetchTarball "https://github.com/nix-community/NUR/archive/master.tar.gz") {
inherit pkgs;
};
};
imports =
[
./hardware-configuration.nix

View file

@ -12,13 +12,18 @@
programs = {
home-manager.enable = true;
alacritty.enable = true;
# ripgrep.enable = true;
firefox = {
enable = true;
profiles.default = {
id = 0;
isDefault = true;
settings = {
"browser.aboutConfig.showWarning" = false;
};
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
ublock-origin
];
};
};