mob next [ci-skip] [ci skip] [skip ci]
lastFile:modules/clan/phonebox/default.nix
This commit is contained in:
@@ -78,6 +78,23 @@
|
|||||||
}";
|
}";
|
||||||
}) machines;
|
}) machines;
|
||||||
|
|
||||||
|
createContactListTiff =
|
||||||
|
let
|
||||||
|
contactTXT = lib.concatStringsSep "\n" (
|
||||||
|
builtins.map (contact: "${contact.name}: ${contact.number}") contactList
|
||||||
|
);
|
||||||
|
in
|
||||||
|
output:
|
||||||
|
pkgs.writeShellApplication {
|
||||||
|
name = "get-contact-tiff";
|
||||||
|
text = ''
|
||||||
|
magick -background white -fill black \
|
||||||
|
-pointsize 20 -font DejaVu-Sans \
|
||||||
|
label:"${contactTXT}" \
|
||||||
|
${output}'';
|
||||||
|
runtimeInputs = [ pkgs.imagemagick ];
|
||||||
|
};
|
||||||
|
|
||||||
genServerSIPEndpoint =
|
genServerSIPEndpoint =
|
||||||
{ hostname, address }:
|
{ hostname, address }:
|
||||||
''
|
''
|
||||||
|
|||||||
Reference in New Issue
Block a user