diff --git a/modules/gui/firefox.nix b/modules/gui/firefox.nix index 491b0a6..a98a2c1 100644 --- a/modules/gui/firefox.nix +++ b/modules/gui/firefox.nix @@ -8,7 +8,7 @@ cfg = config.myOptions.programs.firefox; inherit (config.myOptions.other.system) username; - inherit (lib) mkEnableOption mkIf mkOption; + inherit (lib) getExe mkEnableOption mkIf mkOption; inherit (lib.types) attrsOf listOf str submodule; inherit (lib.attrsets) mapAttrs mapAttrsToList; @@ -82,7 +82,7 @@ in { firefox-schizo = { name = "Schizofox"; genericName = "Web Browser"; - exec = "firefox-devedition --name firefox-schizo -P schizo %U"; + exec = "${getExe pkgs.firefox-devedition} --name firefox-schizo -P schizo %U"; icon = "${logo}"; terminal = false; categories = [ "Network" "WebBrowser" ]; @@ -96,7 +96,7 @@ in { firefox-unschizo = { name = "Sanefox"; genericName = "Web Browser"; - exec = "firefox-devedition --name firefox-sane -P unschizo %U"; + exec = "${getExe pkgs.firefox-devedition} --name firefox-sane -P unschizo %U"; icon = "${logo}"; terminal = false; categories = [ "Network" "WebBrowser" ];