diff options
Diffstat (limited to 'modules/communication/neomutt/default.nix')
| -rw-r--r-- | modules/communication/neomutt/default.nix | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/modules/communication/neomutt/default.nix b/modules/communication/neomutt/default.nix index 4bd1800..1512465 100644 --- a/modules/communication/neomutt/default.nix +++ b/modules/communication/neomutt/default.nix @@ -2,7 +2,6 @@ { config, lib, - pkgs, ... }: { @@ -20,28 +19,8 @@ package = lib.mkOption { type = lib.types.package; - default = pkgs.symlinkJoin { - name = "neomutt-wrapped"; - paths = [ pkgs.neomutt ]; - nativeBuildInputs = [ pkgs.makeWrapper ]; - postBuild = '' - wrapProgram $out/bin/neomutt \ - --prefix PATH : ${lib.makeBinPath [ pkgs.urlscan ]} - ''; - meta.mainProgram = "neomutt"; - }; - defaultText = lib.literalExpression '' - pkgs.symlinkJoin { - name = "neomutt-wrapped"; - paths = [ pkgs.neomutt ]; - nativeBuildInputs = [ pkgs.makeWrapper ]; - postBuild = ''' - wrapProgram $out/bin/neomutt \ - --prefix PATH : ''${lib.makeBinPath [ pkgs.urlscan ]} - '''; - meta.mainProgram = "neomutt"; - } - ''; + readOnly = true; + default = config.programs.neomutt.package; description = "The neomutt package to use, wrapped with urlscan in PATH."; }; }; |
