diff --git a/modules/clan/phonebox/default.nix b/modules/clan/phonebox/default.nix index e8fbfe4..86d1153 100644 --- a/modules/clan/phonebox/default.nix +++ b/modules/clan/phonebox/default.nix @@ -86,12 +86,12 @@ in output: pkgs.writeShellApplication { - name = "get-contact-tiff"; + name = "create-contact-tiff"; text = '' magick -background white -fill black \ -pointsize 20 -font DejaVu-Sans \ - label:"${contactTXT}" \ - ${output}''; + label:"${contactTXT}" "$@" + ''; runtimeInputs = [ pkgs.imagemagick ]; }; @@ -404,6 +404,10 @@ }; }; + environment.systemPackages = [ + createContactListTiff + ]; + systemd.tmpfiles.rules = [ "d ${faxDir} 0755 ${user} ${user} - -" ];