!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

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

Load older messages


SenderMessageTime
7 Dec 2021
@fabianhjr:matrix.orgfabianhjrwill investigate this afternoon. gettting a crash after a recent nixos-rebuild.19:25:15
8 Dec 2021
@hpfr:matrix.orghpfr anyone else using GSConnect? The firefox extension doesn't seem to work because of how nix installs extensions; neither of these paths are present for me. if anyone else is using it, were you able to fix this somehow? 00:24:22
@jtojnar:matrix.orgJan Tojnar hpfr: native messaging hosts can be injected to firefox https://github.com/NixOS/nixpkgs/blob/3173e260e8cc39d64af753edb2bbdc01039c7efb/pkgs/applications/networking/browsers/firefox/wrapper.nix#L64 00:27:42
@jtojnar:matrix.orgJan Tojnar you can just set it in nixpkgs.config https://github.com/NixOS/nixpkgs/blob/25a431819b54389580f629e1e2e6fdbc4d8632d4/nixos/modules/services/desktops/gnome/chrome-gnome-shell.nix#L39 00:29:05
@hpfr:matrix.orghpfroh cool, tridactyl native too. thank you, I'll give those a shot00:30:06
@jtojnar:matrix.orgJan Tojnardoesn’t work with firefox-bin though00:31:42
@hpfr:matrix.orghpfroh that's fine I'd probably just use the flatpak if I wanted a binary package? not sure why nix does those00:32:58
@jtojnar:matrix.orgJan Tojnarit has/had better performance than the native version, not sure if we fixed it00:33:43
@hpfr:matrix.orghpfr so nixpkgs.config doesn't cause a rebuild from source? 00:33:50
@jtojnar:matrix.orgJan Tojnaralso it can be updated faster00:33:52
@jtojnar:matrix.orgJan Tojnarit does, but only of the wrapper00:34:06
@hpfr:matrix.orghpfroh, ok00:34:14
@hpfr:matrix.orghpfr are things just added to nixpkgs.config when it seems like they're common enough? as opposed to normal overlays 00:35:05
@jtojnar:matrix.orgJan Tojnarit probably depends on the maintainer00:35:36
@jtojnar:matrix.orgJan Tojnarpersonally, I do not like to use it00:35:49
@hpfr:matrix.orghpfrI see00:36:58
@jtojnar:matrix.orgJan TojnarI just pass the arguments directly: https://github.com/jtojnar/nixfiles/blob/4d112f1b5eeaf0cf65f28419118f5194a93162b4/hosts/theo/configuration.nix#L143-L14700:37:14
@hpfr:matrix.orghpfr I think I'm going to have to do an overlay of the wrapper anyway to add pkgs.gnomeExtensions.gsconnect to extraNativeMessagingHosts, right? 00:37:51
@jtojnar:matrix.orgJan Tojnar since nixpkgs.config does not even work with the way I instantiate packages 00:37:52
@hpfr:matrix.orghpfrwhy not?00:38:06
@hpfr:matrix.orghpfr looks like you're using environment.systemPackages 00:38:22
@jtojnar:matrix.orgJan Tojnar nixpkgs.config work by having the module system instantiate pkgs, I do it myself 00:39:02
@jtojnar:matrix.orgJan Tojnar * nixpkgs.config works by having the module system instantiate pkgs, I do it myself 00:39:12
@hpfr:matrix.orghpfroh00:39:31
@jtojnar:matrix.orgJan Tojnar

I guess I could do

(firefox-wayland.override (args: args // {
   cfg = args.cfg or {} // config.nixpkgs.config.firefox;
}))
00:41:08
@jtojnar:matrix.orgJan Tojnar
In reply to @hpfr:matrix.org
I think I'm going to have to do an overlay of the wrapper anyway to add pkgs.gnomeExtensions.gsconnect to extraNativeMessagingHosts, right?
oh right, that is not actually obtained from config – I think that is inconsistency that could be fixed
00:45:13
@hpfr:matrix.orghpfr it looks like there is a pkgs.wrapFirefox I'm probably gonna use to add pkgs.gnomeExtensions.gsconnect https://nixos.wiki/wiki/Firefox 00:45:31
@hpfr:matrix.orghpfr Jan Tojnar: in the firefox wrapper you linked, why do they sometimes or booleans with false? isn't that a no op? they do it for like half of the lib.optional calls around there but not all of them? 00:55:13
@hpfr:matrix.orghpfrhttps://github.com/NixOS/nixpkgs/blob/3173e260e8cc39d64af753edb2bbdc01039c7efb/pkgs/applications/networking/browsers/firefox/wrapper.nix#L6400:55:34
@hpfr:matrix.orghpfr actually they do it for all the booleans from config, so I guess those can be null when undefined? I figured they'd just be false... 00:56:33

Show newer messages


Back to Room ListRoom Version: 6