vccs
July 30, 2022, 11:50am
1
I want to install a NativeMessagingHost.
nixpkgs.config.firefox = {
forceWayland = true;
extraNativeMessagingHosts = [ pkgs.jabref ];
};
doesn’t work for me but
nixpkgs.overlays = [
(self: super: {
firefox = pkgs.wrapFirefox pkgs.firefox-unwrapped {
forceWayland = true;
extraNativeMessagingHosts = [ pkgs.jabref ];
};
})
];
works. What’s the difference?
Sandro
July 30, 2022, 5:56pm
2
nixpkgs.overlays applies overlays to packages. nixpkgs.config contains config variables like { allowBroken = true; allowUnfree = true; }
which require extra code to function.
vccs
July 31, 2022, 1:23pm
3
When does nixpkgs.config.firefox
work? This method is also documented but it seems not all args work.
Sandro
July 31, 2022, 2:56pm
4
vccs
August 12, 2022, 7:13am
5
Oh, I got it. It must be taken from config.${applicationName}
. Thanks!