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; cfg = config.myOptions.programs.firefox;
inherit (config.myOptions.other.system) username; 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.types) attrsOf listOf str submodule;
inherit (lib.attrsets) mapAttrs mapAttrsToList; inherit (lib.attrsets) mapAttrs mapAttrsToList;
@ -82,7 +82,7 @@ in {
firefox-schizo = { firefox-schizo = {
name = "Schizofox"; name = "Schizofox";
genericName = "Web Browser"; 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}"; icon = "${logo}";
terminal = false; terminal = false;
categories = [ "Network" "WebBrowser" ]; categories = [ "Network" "WebBrowser" ];
@ -96,7 +96,7 @@ in {
firefox-unschizo = { firefox-unschizo = {
name = "Sanefox"; name = "Sanefox";
genericName = "Web Browser"; 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}"; icon = "${logo}";
terminal = false; terminal = false;
categories = [ "Network" "WebBrowser" ]; categories = [ "Network" "WebBrowser" ];