Cannot enable dash-to-dock gnome extension

I have this in /etc/nixos/configuration.nix:

  nixpkgs.config.firefox.enableGnomeExtensions = true; = true;
  environment.systemPackages = with pkgs; [

Then sudo nixos-rebuild switch and relogin.

And I have done this:

$ gnome-extensions list

[roman@msi-laptop:~]$ gnome-extensions enable

When looking in Firefox, it shows this extension is outdated:

Then I click in firefox on “OUTDATED” and install from here. But still it is not enabled.

What version of Nixpkgs are you on? It has the latest version on NixOS unstable:

$ nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.79, NixOS, 21.05.4116.46251a79f75 (Okapi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.16`
 - channels(root): `"nixos-21.05.4116.46251a79f75"`
 - channels(roman): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Right, GNOME has limited support on the stable NixOS. You should be able to pull the extension from nixos-unstable, which has an up to date version.

Though, for this particular extension, installing it from the extension portal should work too. I am not sure if clicking the “Outdated” button will work but the green “Update this extension” button seems to trigger an installation dialogue for me (on a different extension that has not yet been updated in NixOS unstable).

1 Like