hm: wrap firefox-bin with nixgl only in hmOnly

This commit is contained in:
Motiejus Jakštys 2024-02-02 13:57:29 +02:00 committed by Motiejus Jakštys
parent b5e2234947
commit 51d3328e4b

View File

@ -102,7 +102,11 @@ in {
firefox = lib.mkIf fullDesktop {
enable = true;
package = glintel pkgs.firefox-bin "firefox";
# firefox doesn't need the wrapper on the personal laptop
package =
if hmOnly
then (glintel pkgs.firefox-bin "firefox")
else pkgs.firefox-bin;
policies.DisableAppUpdate = true;
profiles = {
xdefault = {