From 9bfa3031b67685e370a9712851958dca30ee1790 Mon Sep 17 00:00:00 2001 From: kurogeek Date: Fri, 26 Dec 2025 16:38:34 +0700 Subject: [PATCH] mob next [ci-skip] [ci skip] [skip ci] lastFile:modules/clan/phonebox/default.nix --- modules/clan/phonebox/default.nix | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) 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} - -" ];