added firefox extensions with NUR

This commit is contained in:
twoneis 2023-11-27 20:33:35 +01:00
parent 7664de17fa
commit 0472dc6392
4 changed files with 35 additions and 3 deletions

18
flake.lock generated
View file

@ -52,11 +52,27 @@
"type": "github" "type": "github"
} }
}, },
"nur": {
"locked": {
"lastModified": 1701107100,
"narHash": "sha256-8rSRheAjcEexKE1Hyf8To0AQeMTrvtBGP1iESX3PN4o=",
"owner": "nix-community",
"repo": "nur",
"rev": "eab21a5514fd3dae3093b5c671b16ed7caabb402",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nur",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"home-manager": "home-manager", "home-manager": "home-manager",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs",
"nur": "nur"
} }
} }
}, },

View file

@ -14,6 +14,10 @@
nixos-hardware = { nixos-hardware = {
url = "github:nixos/nixos-hardware/master"; url = "github:nixos/nixos-hardware/master";
}; };
nur = {
url = "github:nix-community/nur";
};
}; };
outputs = { nixpkgs, home-manager, nixos-hardware, ... }: outputs = { nixpkgs, home-manager, nixos-hardware, ... }:

View file

@ -1,5 +1,16 @@
{ ... }: { { pkgs, ... }: {
programs.firefox = { programs.firefox = {
enable = true; enable = true;
profiles = {
"default" = {
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
bitwarden
sponsorblock
ublock-origin
consent-o-matic
pronoundb
];
};
};
}; };
} }

View file

@ -1,5 +1,6 @@
{ ... }: { { ... }@inputs: {
imports = [ imports = [
inputs.nur.hmModules.nur
./art ./art
./browser ./browser
./chat ./chat