!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

405 Members
A room for maintainers of GNOME & GNOME-Related desktop environments (xfce, cinnamon, pantheon...)94 Servers

Load older messages


SenderMessageTime
11 Oct 2023
@galaxy-nova:matrix.org@galaxy-nova:matrix.orgRedacted or Malformed Event01:32:49
@ThorHop:matrix.org@ThorHop:matrix.org
In reply to @bobby285271:matrix.org
Does your log matches the weird thing I met starting from https://github.com/NixOS/nixpkgs/pull/247766#issuecomment-1695809990 ? What if you revert the cairo bump? (or, do you only start experiencing this after my first force push?

"Update on this: build failed because of a timeout 20h into compilation, so it seems I may not be able to run the test on that device due to lack of resources."

Sadness :(

12:51:10
@piegames:matrix.orgpiegamesSorry I'm a bit out of the loop. Can I already package the extensions for 45?14:31:32
@a-kenji:matrix.orgkenji

This here:

  environment.systemPackages = [
    (pkgs.writeShellScriptBin "variables" ''
      set -e
      echo ${config.environment.sessionVariables.EDITOR}
    '')
  ];

Together with gnome.enable leads to infinite recursion, that is a bug, or?

20:20:46
@jtojnar:matrix.orgJan Tojnar
In reply to @a-kenji:matrix.org

This here:

  environment.systemPackages = [
    (pkgs.writeShellScriptBin "variables" ''
      set -e
      echo ${config.environment.sessionVariables.EDITOR}
    '')
  ];

Together with gnome.enable leads to infinite recursion, that is a bug, or?

I would consider it to be one. It is caused by this line https://github.com/NixOS/nixpkgs/blob/dfe563cbdbc03b44f7bd76f6e36cc88e6722f483/nixos/modules/services/x11/desktop-managers/gnome.nix#L518 because system path includes system packages
20:28:27
@jtojnar:matrix.orgJan Tojnar the line should probably be changed to /run/current-system/sw to allow installing new Nautilus extensions without having to log out 20:29:19
@jtojnar:matrix.orgJan Tojnar or even better replace the global variable with nautilus-with-extensions package (we do not have it yet) 20:30:08
@jtojnar:matrix.orgJan Tojnarby the way, there is at least one other offending module: https://github.com/NixOS/nixpkgs/blob/dfe563cbdbc03b44f7bd76f6e36cc88e6722f483/nixos/modules/config/console.nix#L12720:31:10
@a-kenji:matrix.orgkenjiThanks for the confirmation, I wasn't sure If I maybe was holding things wrong.20:33:25
12 Oct 2023
@thubrecht:matrix.orgthubrecht joined the room.09:37:14
@galaxy-nova:matrix.org@galaxy-nova:matrix.organy idea when the jobset will trigger18:47:33
@cajum:matrix.org@cajum:matrix.org joined the room.19:30:25
13 Oct 2023
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de@5m5z3q888q5prxkg:chat.lightnovel-dungeon.deI have issues on tauri, because nixos seems to not ship webkitgtk with webrtc support enabled does anyone know how to enable it? Context: https://webkitgtk.org/2023/02/02/webkitgtk2.38.4-released.html (Fix the build with GStreamer-based WebRTC enabled.)09:40:26
@5m5z3q888q5prxkg:chat.lightnovel-dungeon.de@5m5z3q888q5prxkg:chat.lightnovel-dungeon.dealso https://webkitgtk.org/2022/07/12/webkitgtk2.37.1-released.html09:40:56
@ThorHop:matrix.org@ThorHop:matrix.org changed their display name from hopland (glib gary) to hopland (flaky frank).10:27:13
@ajcxz0:matrix.org@ajcxz0:matrix.org How do I remove all the Extensions from my default NixOS + GNOME install?
I've RTFM, RTFW, STFW, chatted with two AI bots (one of which told me to RTFM after getting almost everything wrong), searched here and tried every variation of all the suggestions I've found resulting in nothing but errors while "building the system configuration..."
I'm not using home-manager, just configuration.nix. I would like to manage my user desktop environment locally, i.e. user Flatpaks, dconf-editor, Extensions, etc. - at least for now.
[Please respond in a thread, as I don't want to clutter the Room with my cluelessness.]
18:22:01
@ajcxz0:matrix.org@ajcxz0:matrix.org * How do I remove all the Extensions from my default NixOS + GNOME install?
I've RTFM, RTFW, STFW, chatted with two AI bots (one of which told me to RTFM after getting almost everything wrong), searched here and tried every variation of all the suggestions I've found resulting in nothing but errors while "building the system configuration..."
I'm not using home-manager, just configuration.nix. I would like to manage my user desktop environment locally, i.e. user Flatpaks, dconf-editor, Extensions, etc. - at least for now.
[Please respond in a thread, as I don't want to clutter the Room with my cluelessness.]
18:24:04
@jtojnar:matrix.orgJan Tojnar
In reply to @5m5z3q888q5prxkg:chat.lightnovel-dungeon.de
I have issues on tauri, because nixos seems to not ship webkitgtk with webrtc support enabled does anyone know how to enable it?

Context: https://webkitgtk.org/2023/02/02/webkitgtk2.38.4-released.html (Fix the build with GStreamer-based WebRTC enabled.)
We should have it, make sure to add the relevant gstreamer plugin to the program’s buildInputs and wrapGAppsHook to its nativeBuildInputs: https://nixos.org/manual/nixpkgs/stable/#ssec-gnome-plugins
18:40:18
@jtojnar:matrix.orgJan Tojnar Adding pkgs.gnome.gnome-shell-extensions to environment.gnome.excludePackages NixOS option should work 18:42:23
@jtojnar:matrix.orgJan Tojnarjust note that some extensions require other dependencies and it might not be easily possible to install those dependencies system-wide18:43:43
@jtojnar:matrix.orgJan Tojnarso installing such extensions from Nixpkgs might be the only option18:44:11
@jtojnar:matrix.orgJan Tojnarsee https://github.com/NixOS/nixpkgs/blob/a9f8820d17c8bc30e7c61f532277100893d49ac7/nixos/modules/services/x11/desktop-managers/gnome.nix#L379-L384 for the built-in extensions18:45:49
@jtojnar:matrix.orgJan Tojnarand https://github.com/NixOS/nixpkgs/blob/a9f8820d17c8bc30e7c61f532277100893d49ac7/nixos/modules/services/x11/desktop-managers/gnome.nix#L379-L384 for a (non-exhaustive) list of extensions that may need dependency patching18:46:26
@ajcxz0:matrix.org@ajcxz0:matrix.org

Thank you, Jan Tojnar . I appreciate the quick response even if I don't fully understand it yet.
Those two gnome.nix URLs are the same an I trust seeing them again will not materially affect how I should change configuration.nix in my 23.05 channel install. That is, of course, what I have been trying and failing to successfully do.
I will try to translate

Adding pkgs.gnome.gnome-shell-extensions to environment.gnome.excludePackages NixOS option

19:02:59
@ajcxz0:matrix.org@ajcxz0:matrix.org *

Thank you, Jan Tojnar . I appreciate the quick response even if I don't fully understand it yet.
Those two gnome.nix URLs are the same an I trust seeing them again will not materially affect how I should change configuration.nix in my 23.05 channel install. That is, of course, what I have been trying and failing to successfully do.
I will try to translate

Adding pkgs.gnome.gnome-shell-extensions to environment.gnome.excludePackages NixOS option

into code which fits in my nearly default configuration.nix, then share it here.

19:03:34
@ajcxz0:matrix.org@ajcxz0:matrix.org

Looking good so far. It seems like a variation I had not tried was using pkgs.gnome.gnome-shell-extensions versus gnome.gnome-shell-extensions or gnome-shell-extensions in each of the places I tried it. Thank you!

  environment.gnome.excludePackages = (with pkgs; [
    pkgs.gnome.gnome-shell-extensions
    gnome-photos
    gnome-tour
  ]) ++ (with pkgs.gnome; [
    atomix # puzzle game
    cheese # webcam tool
...
  ]);
$ sudo nixos-rebuild switch
building Nix...
building the system configuration...
these 25 derivations will be built:
...
I'll test the results by logging out and back in shortly.
19:11:58
@ajcxz0:matrix.org@ajcxz0:matrix.org *

Looking good so far. It seems like a variation I had not tried was using pkgs.gnome.gnome-shell-extensions versus gnome.gnome-shell-extensions or gnome-shell-extensions in each of the places I tried it. Thank you!

  environment.gnome.excludePackages = (with pkgs; [
    pkgs.gnome.gnome-shell-extensions
    gnome-photos
    gnome-tour
  ]) ++ (with pkgs.gnome; [
    atomix # puzzle game
    cheese # webcam tool
    ...
  ]);
$ sudo nixos-rebuild switch
building Nix...
building the system configuration...
these 25 derivations will be built:
...
I'll test the results by logging out and back in shortly.
19:12:23
@ajcxz0:matrix.org@ajcxz0:matrix.org *

Looking good so far. It seems like a variation I had not tried was using pkgs.gnome.gnome-shell-extensions versus gnome.gnome-shell-extensions or gnome-shell-extensions in each of the places I tried it. Thank you!

  environment.gnome.excludePackages = (with pkgs; [
    pkgs.gnome.gnome-shell-extensions
    gnome-photos
    gnome-tour
  ]) ++ (with pkgs.gnome; [
    atomix # puzzle game
    cheese # webcam tool
    ...
  ]);
$ sudo nixos-rebuild switch
building Nix...
building the system configuration...
these 25 derivations will be built:
...

I'll test the results by logging out and back in shortly.

19:12:51
@ajcxz0:matrix.org@ajcxz0:matrix.org Logged out, rebooted (just to be 100% certain), logged back in and all extensions are goes according to both org.gnome.Extensions and https://extensions.gnome.org/local/
Thank you!
19:35:38
@ajcxz0:matrix.org@ajcxz0:matrix.org * Logged out, rebooted (just to be 100% certain), logged back in and all extensions are gone according to both org.gnome.Extensions and https://extensions.gnome.org/local/ with nothing broken which I've noticed yet.
Thank you!
19:37:50

Show newer messages


Back to Room ListRoom Version: 6