Firefox extensions (nur, firefox-gnome-theme)

hi everyone, i have some problem with adding extensions to firefox via nur, and also for some reason firefox-gnome-theme doesn’t apply to my browser. please help! here’s the error:

{
  description = "";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    nixpkgs-24.url = "github:NixOS/nixpkgs?ref=nixos-24.11";
    ayugram-desktop.url = "github:/ayugram-port/ayugram-desktop/release?submodules=1";
    alejandra.url = "github:kamadorueda/alejandra/3.1.0";
    prismlauncher.url = "github:PrismLauncher/PrismLauncher";
    home-manager = {
      url = "github:nix-community/home-manager";
      inputs.nixpkgs.follows = "nixpkgs";
    };
    nur = {
      url = "github:nix-community/NUR";
      inputs.nixpkgs.follows = "nixpkgs";
    };
    firefox-gnome-theme = {
      url = "github:rafaelmardojai/firefox-gnome-theme";
      flake = false;
    };
    firefox-nightly = {
      url = "github:colemickens/flake-firefox-nightly";
      inputs.nixpkgs.follows = "nixpkgs";
    };
    compose2nix = {
      url = "github:aksiksi/compose2nix";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };

  outputs = {
    self,
    nixpkgs,
    nixpkgs-24,
    home-manager,
    ...
  } @ inputs: let
    user = "q";
    host = "NixOS";
    system = "x86_64-linux";
    pkgs = import nixpkgs {
      config.allowUnfree = true;
    };
    stable = import nixpkgs-24 {
      inherit system;
      config.allowUnfree = true;
    };
  in {
    nixosConfigurations.${host} = nixpkgs.lib.nixosSystem {
      modules = [
        (
          {
            config,
            pkgs,
            lib,
            ...
          }: {
*nixos configuration*
            system = {
              autoUpgrade.enable = true;
              autoUpgrade.allowReboot = true;
              stateVersion = config.system.nixos.release;
            };
          }
        )
        home-manager.nixosModules.home-manager
        {
          home-manager = {
            extraSpecialArgs = {
              inherit
                stable
                ;
            };
            useGlobalPkgs = true;
            useUserPackages = true;
            users.${user} = {
              stable,
              config,
              pkgs,
              lib,
              ...
            }: let
              firefox-nightly = inputs.firefox-nightly.packages.${pkgs.stdenv.hostPlatform.system}.firefox-nightly-bin;
            in {
              imports = [
              ];
              home = {
                username = "${user}";
                homeDirectory = "/home/${user}";
                stateVersion = "24.11";
                sessionVariables = {
                  DISABLE_QT5_COMPAT = "0"; # Оставляем совместимость Qt5
                  GDK_BACKEND = "wayland"; # Устанавливаем X11 как бэкенд для GTK
                  QT_AUTO_SCREEN_SCALE_FACTOR = "1"; # Автоматическое масштабирование в Qt
                  XDG_SESSION_TYPE = "wayland"; # Указываем тип сессии как X11
                  XDG_SESSION_DESKTOP = "gnome";
                  XDG_CURRENT_DESKTOP = "GNOME";
                  SDL_VIDEODRIVER = "wayland"; # SDL использует X11 как видеодрайвер
                };
                file = {
                  "firefox-gnome-theme" = {
                    target = ".mozilla/firefox/default/chrome/firefox-gnome-theme";
                    source = inputs.firefox-gnome-theme;
                  };
                  ".local/share/applications/firefox-personal.desktop" = {
                    text = ''
                      [Desktop Entry]
                      Actions=new-private-window
                      Categories=Network;WebBrowser
                      Exec=${firefox-nightly}/bin/firefox-nightly -P personal --name firefox-personal --class=firefox-personal %U
                      GenericName=Personal Web Browser
                      Icon=firefox-nightly
                      MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;x-scheme-handler/http;x-scheme-handler/https
                      Name=Personal Firefox
                      StartupNotify=true
                      StartupWMClass=firefox-personal
                      Terminal=false
                      Type=Application
                      Version=1.4
                      [Desktop Action new-private-window]
                      Exec=${firefox-nightly}/bin/firefox-nightly -P personal --name firefox-personal --class=firefox-personal --private-window %U
                      Name=New Personal Private Window
                    '';
                  };
                };
                packages = with pkgs;
                  [
                    inputs.alejandra.defaultPackage.${system}
                    inputs.ayugram-desktop.packages.${system}.ayugram-desktop
                    inputs.prismlauncher.packages.${system}.prismlauncher
                    pavucontrol
                    vlc
                    pipes-rs
                    ani-cli
                    imv
                    ncdu
                    nitch
                    zip
                    unzip
                    unrar
                    p7zip
                    cbonsai
                    cmatrix
                    sl
                    tty-clock
                    hexdump
                    nix-tree
                    nix-index
                    go
                    gitkraken
                    killall
                    acpi
                    libnotify
                    w3m
                    gimp
                    qtcreator
                    tiv
                    fbida
                    sublime
                    pciutils
                    megacmd
                    devenv
                    viber
                    obsidian
                    ffmpeg-full
                    qbittorrent
                    nmap
                    openvas-scanner
                    whois
                    metasploit
                    aircrack-ng
                    dconf-editor
                    burpsuite
                    hashcat
                    thc-hydra
                    usbutils
                    ibus
                    nix-prefetch-git
                    vesktop
                    feh
                    android-tools
                    lshw
                    efibootmgr
                    dmidecode
                    qdiskinfo
                    tor-browser
                    goverlay
                    virt-viewer
                    okular
                    speedtest-cli
                    rpi-imager
                    bottles
                    wireguard-tools
                    lz4
                    imagemagick
                    pinta
                    netdiscover
                    glxinfo
                    puppet
                    ansible
                    vagrant
                    libreoffice
                    jq
                    gnome-mahjongg
                    nmap
                    ghc
                    keepassxc
                    gtop
                    fastfetch
                    neo-cowsay
                    kittysay
                    lsof

                    (pkgs.python3Full.withPackages (python-pkgs:
                      with python-pkgs; [
                        # select Python packages here
                        pandas
                        numpy
                        lxml
                        scapy
                        dbus-python
                        requests
                      ]))

                    ponysay
                    pokemonsay
                    charasay
                    tewisay
                    xcowsay
                    nitch
                    neofetch
                    pfetch-rs
                    cargo
                    screenfetch
                    pridefetch
                    tree
                    inxi
                    gcc
                    node-red
                    mesa
                    zram-generator
                  ]
                  ++ (with stable; [
                    ]);
              };
              services = {
              };
              programs = {
                fd = {
                  enable = true;
                  hidden = true;
                };
                chromium.enable = true;
                firefox = {
                  enable = true;
                  package = firefox-nightly;
                  nativeMessagingHosts = [pkgs.firefoxpwa];
                  policies = {
                  };
                  profiles.presonal = {
                    id = 0;
                    path = "personal";
                    extensions = {
                      force = true;
                      packages = with pkgs.nur.repos.rycee.firefox-addons; [
                        ublock-origin
                        privacy-badger
                      ];
                    };
                    settings = {
                      "browser.tabs.loadInBackground" = true;
                      "widget.gtk.rounded-bottom-corners.enabled" = true;
                      "toolkit.legacyUserProfileCustomizations.stylesheets" = true;
                      "svg.context-properties.content.enabled" = true;
                      "extensions.autoDisableScopes" = 0;
                      "gnomeTheme.hideSingleTab" = true;
                      "gnomeTheme.bookmarksToolbarUnderTabs" = true;
                      "gnomeTheme.normalWidthTabs" = false;
                      "gnomeTheme.tabsAsHeaderbar" = false;
                    };
                    userChrome = ''
                      @import "firefox-gnome-theme/userChrome.css";
                    '';
                    userContent = ''
                      @import "firefox-gnome-theme/userContent.css";
                    '';
                    search = {
                      force = true;
                      default = "DuckDuckGo";
                      order = ["DuckDuckGo" "Google"];
                      engines = {
                        "Nix Packages" = {
                          urls = [
                            {
                              template = "https://search.nixos.org/packages";
                              params = [
                                {
                                  name = "type";
                                  value = "packages";
                                }
                                {
                                  name = "query";
                                  value = "{searchTerms}";
                                }
                              ];
                            }
                          ];

                          icon = "${pkgs.nixos-icons}/share/icons/hicolor/scalable/apps/nix-snowflake.svg";
                          definedAliases = ["@np"];
                        };
                      };
                    };

                    bookmarks = [
                    ];
                  };
                };
              };
            };
          };
        }
        ./hardware-configuration.nix
      ];
    };
  };
}