fix firefox addons ig? also system var is here lol

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-06-09 17:00:56 -04:00 committed by Richie Cahill
parent 22dc931c38
commit cd3369880a
3 changed files with 19 additions and 12 deletions

View File

@ -160,7 +160,7 @@ rec {
lib.nixosSystem {
inherit system;
specialArgs = {
inherit inputs server;
inherit inputs server system;
};
modules =
[

View File

@ -2,6 +2,7 @@
lib,
inputs,
server,
system,
...
}:
{
@ -25,8 +26,9 @@
useUserPackages = true;
sharedModules = [ inputs.sops-nix.homeManagerModules.sops ];
extraSpecialArgs = {
inherit inputs;
machineConfig = {
inherit server;
inherit server system;
};
};
};

View File

@ -1,17 +1,22 @@
{ pkgs, ... }:
{
pkgs,
inputs,
machineConfig,
...
}:
{
programs.firefox = {
enable = true;
profiles.richie = {
# extensions = with pkgs.inputs.firefox-addons; [
# bitwarden-password-manager
# darkreader
# dearrow
# fastforwardteam
# return-youtube-dislikes
# sponsorblock
# ublock-origin
# ];
extensions = with inputs.firefox-addons.packages.${machineConfig.system}; [
bitwarden
darkreader
dearrow
fastforwardteam
return-youtube-dislikes
sponsorblock
ublock-origin
];
search.engines = {
"Nix Options" = {
urls = [