mob next [ci-skip] [ci skip] [skip ci]

lastFile:modules/clan/phonebox/default.nix
This commit is contained in:
2025-12-26 16:38:34 +07:00
parent 7e84b4b349
commit 9bfa3031b6

View File

@@ -86,12 +86,12 @@
in in
output: output:
pkgs.writeShellApplication { pkgs.writeShellApplication {
name = "get-contact-tiff"; name = "create-contact-tiff";
text = '' text = ''
magick -background white -fill black \ magick -background white -fill black \
-pointsize 20 -font DejaVu-Sans \ -pointsize 20 -font DejaVu-Sans \
label:"${contactTXT}" \ label:"${contactTXT}" "$@"
${output}''; '';
runtimeInputs = [ pkgs.imagemagick ]; runtimeInputs = [ pkgs.imagemagick ];
}; };
@@ -404,6 +404,10 @@
}; };
}; };
environment.systemPackages = [
createContactListTiff
];
systemd.tmpfiles.rules = [ systemd.tmpfiles.rules = [
"d ${faxDir} 0755 ${user} ${user} - -" "d ${faxDir} 0755 ${user} ${user} - -"
]; ];