!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

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

Load older messages


SenderMessageTime
8 Dec 2021
@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
@jtojnar:matrix.orgJan Tojnar
In reply to @hpfr:matrix.org
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...
it is a part of the attribute access syntax (the EBNF is<set> '.' <attr> ['or' <fallback>), you would get attribute missing error otherwise
01:28:30
@jtojnar:matrix.orgJan Tojnar
In reply to @hpfr:matrix.org
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...
* it is a part of the attribute access syntax (the EBNF is<set> '.' <attr> ['or' <fallback>]), you would get attribute missing error otherwise
01:28:47
@illoqiq:matrix.orgTyler joined the room.04:19:20
@illoqiq:matrix.orgTylerHi. New here, and pretty new to Nix altogether. I'm trying to build libvte from github (devel version) with sixel enabled. I've looked at https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/vte/default.nix, but it's not at all clear where the actual meson call or how to add configuration options to it. Would appreciate some help.04:23:02
@illoqiq:matrix.orgTyler * Hi. New here, and pretty new to Nix altogether. I'm trying to build libvte from github (devel version) with sixel enabled. I've looked at https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/vte/default.nix, but it's not at all clear where the actual meson call is or how to add configuration options to it. Would appreciate some help.04:23:29
@hpfr:matrix.orghpfr
In reply to @jtojnar:matrix.org
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
on second glance it looks like this enableGnomeExtensions option just adds chrome-gnome-shell as a firefox native messenger, which just allows for installing gnome extensions from a browser, which I think I wouldn't even want to do because I want them in my NixOS config? to clarify, I already have GSConnect installed via my NixOS config. also, I think that's already enabled since the gnome module enables chrome-gnome-shell as part of core-shell
04:37:59
@hpfr:matrix.orghpfr anyway, I wrapped firefox with tridactyl-native and gnomeExtensions.gsconnect as native messengers, but Tridactyl still thinks the native messenger isn't installed. I install Firefox extensions through Firefox, do I have to install them via Nix to get everything working? it doesn't seem like it since the GSConnect Firefox extension now seems to somewhat work 04:39:40
@hpfr:matrix.orghpfr * ~~anyway, I wrapped firefox with tridactyl-native and gnomeExtensions.gsconnect as native messengers, but Tridactyl still thinks the native messenger isn't installed. I install Firefox extensions through Firefox, do I have to install them via Nix to get everything working? it doesn't seem like it since the GSConnect Firefox extension now seems to somewhat work~~ not a config issue. tridactyl has moved to a new native messenger, so nix's package is out of date 05:16:04

Show newer messages


Back to Room ListRoom Version: 6