make firefox path absolute

This commit is contained in:
jacekpoz 2024-07-15 02:22:15 +02:00
parent 8e1eba2f5f
commit 07ec256d4a
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -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" ];