Compare commits
3 Commits
93592c984d
...
38257492bd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
38257492bd | ||
|
|
7a08bc0b2b | ||
|
|
25e8cac613 |
@@ -699,7 +699,7 @@ def _check_port_status(
|
|||||||
|
|
||||||
def _generate_qr_base64(data: str) -> str | None:
|
def _generate_qr_base64(data: str) -> str | None:
|
||||||
"""Generate a QR code PNG and return it as a base64-encoded data URI.
|
"""Generate a QR code PNG and return it as a base64-encoded data URI.
|
||||||
Uses qrencode CLI (available on the system via credentials-pdf.nix)."""
|
Uses qrencode CLI (available on the system via credentials.nix)."""
|
||||||
try:
|
try:
|
||||||
result = subprocess.run(
|
result = subprocess.run(
|
||||||
["qrencode", "-o", "-", "-t", "PNG", "-s", "6", "-m", "2", "-l", "H", data],
|
["qrencode", "-o", "-", "-t", "PNG", "-s", "6", "-m", "2", "-l", "H", data],
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
# ── Always on (no flag) ───────────────────────────────────
|
# ── Always on (no flag) ───────────────────────────────────
|
||||||
./php.nix
|
./php.nix
|
||||||
./Sovran_SystemsOS_File_Fixes_And_New_Services.nix
|
./Sovran_SystemsOS_File_Fixes_And_New_Services.nix
|
||||||
./credentials-pdf.nix
|
./credentials.nix
|
||||||
|
|
||||||
# ── Services (default ON — disable in custom.nix) ─────────
|
# ── Services (default ON — disable in custom.nix) ─────────
|
||||||
./synapse.nix
|
./synapse.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user