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

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

View file

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