From 27c36bf5d65676fa773b0c2ff598b89dcdf30764 Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Wed, 28 Aug 2024 02:54:42 +0100 Subject: [PATCH] firefox: use `literalMD` in option defaultText --- modules/home-manager/firefox.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/home-manager/firefox.nix b/modules/home-manager/firefox.nix index dba7587..121a039 100644 --- a/modules/home-manager/firefox.nix +++ b/modules/home-manager/firefox.nix @@ -37,7 +37,9 @@ in then "firefox.desktop" else "org.mozilla.firefox.desktop"; description = ''The firefox desktop file to add to "favorites", or null''; - defaultText = ''"firefox.desktop" when `install` is true, otherwise "org.mozilla.firefox.desktop"''; + defaultText = lib.literalMD '' + "firefox.desktop" when `install` is true, otherwise "org.mozilla.firefox.desktop" + ''; }; };