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 { lib.nixosSystem {
inherit system; inherit system;
specialArgs = { specialArgs = {
inherit inputs server; inherit inputs server system;
}; };
modules = modules =
[ [

View File

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

View File

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