pmorch
April 12, 2024, 3:29pm
1
Hi, when I go to a gnome extension, e.g. Dash to Dock - GNOME Shell Extensions I see:
What do I need to do to get it to work?
I (think I) have enabled gnome-browser-connector
:
diff --git a/configuration.nix b/configuration.nix
index 216871e..669d3b4 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -33,6 +33,7 @@
# Enable the X11 windowing system.
services.xserver.enable = true;
+ services.gnome.gnome-browser-connector.enable = true;
# Enable the GNOME Desktop Environment.
services.xserver.displayManager.gdm.enable = true;
@@ -74,6 +75,7 @@
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [
firefox
+ gnomeExtensions.dash-to-dock
# thunderbird
];
};
(full configuration.nix )
As you can see, I also found out I can install gnome extensions declaratively, but I’d still like for https://extensions.gnome.org integration to work.
You need to install Firefox with programs.firefox.enable = true;
pmorch
April 12, 2024, 11:02pm
3
I’ll try that. Firefox was installed by the installer, not by me.
pmorch
April 12, 2024, 11:52pm
4
Confirmed. This diff made it work.
diff --git a/configuration.nix b/configuration.nix
index 669d3b4..ac11c8a 100644
--- a/configuration.nix
+++ b/configuration.nix
@@ -74,7 +74,6 @@
description = "Test";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [
- firefox
gnomeExtensions.dash-to-dock
# thunderbird
];
@@ -97,6 +96,7 @@
# enable = true;
# enableSSHSupport = true;
# };
+ programs.firefox.enable = true;
# List services that you want to enable:
pmorch
April 13, 2024, 12:01am
5
This is already filed as:
opened 11:07PM - 31 Mar 24 UTC
0.kind: enhancement
### Describe the bug
After a fresh install of nixos thanks to the gnome ISO, … Firefox is installed by default like that
```
# Define a user account. Don't forget to set a password with ‘passwd’.
users.users.username = {
isNormalUser = true;
description = "Username";
extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [
firefox
# thunderbird
];
};
```
Whereas in nixos wiki it is written it should be installed "in your system or [Home Manager](https://nixos.wiki/wiki/Home_Manager) configuration" like that :
`programs.firefox.enable = true`
and if I may, I would suggest to install it by default (in Gnome ISO at least, I don't know for KDE) like that :
```
programs.firefox = {
enable = true;
package = pkgs.firefox;
nativeMessagingHosts.packages = with pkgs; [
browserpass
];
};
```
That would make it much easier for new user discovering nixos to see some similarity between the wiki and reality. And then, it makes it easy for one who would like to enable gsconnect for example. Currently, the user need to understand that the default installation is "wrong" and the wiki is correct and then move forward...
---
Add a :+1: [reaction] to [issues you find important].
[reaction]: https://github.blog/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/
[issues you find important]: https://github.com/NixOS/nixpkgs/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc