From 074a117feb81b38ce6dcb54b482a73f8f654fa91 Mon Sep 17 00:00:00 2001 From: kurogeek Date: Mon, 29 Dec 2025 11:54:48 +0700 Subject: [PATCH] mob next [ci-skip] [ci skip] [skip ci] lastFile:modules/clan/phonebox/default.nix --- modules/clan/phonebox/default.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/modules/clan/phonebox/default.nix b/modules/clan/phonebox/default.nix index d2b77ae..fe9f850 100644 --- a/modules/clan/phonebox/default.nix +++ b/modules/clan/phonebox/default.nix @@ -81,15 +81,14 @@ createContactListTiff = let contactTXT = lib.concatStringsSep "\n" ( - builtins.map (contact: "${contact.name}: ${contact.number}") contactList + builtins.map (contact: "${contact.number}\t\t: \t\t${contact.name}") contactList ); in pkgs.writeShellApplication { name = "create-contact-tiff"; text = '' - magick -background white -fill black \ - -pointsize 20 -font DejaVu-Sans \ - label:"${contactTXT}" "$1" + magick -background white -fill black -pointsize 20 -font DejaVu-Sans label:"${contactTXT}" "$1" + magick "$1" -border 50x50 -bordercolor white "$1" magick "$1" -resize 1728x -units PixelsPerInch -compress Group4 -density 204x196 -monochrome -depth 1 "$1" ''; runtimeInputs = [ pkgs.imagemagick ]; @@ -342,7 +341,7 @@ same => n,Set(FAXFILE=${faxDir}/contact.tiff) same => n,System(${lib.getExe createContactListTiff} ''${FAXFILE}) same => n,Set(FAXECHO=true) - same => n,Playback(hello-world) + same => n,Playback(vm-goodbye) same => n,Wait(3) exten => h,1,GotoIf($[''${FAXECHO}]?sendfax)