installer: fix qrcode generation error

This commit is contained in:
lassulus
2023-07-28 18:12:48 +02:00
parent 0adf78de2c
commit ae5e197da7
2 changed files with 3 additions and 3 deletions

View File

@@ -28,9 +28,9 @@
password: $password, address: $address
}' > /var/shared/login.info
cat /var/shared/login.info |
${pkgs.qrencode}/bin/qrencode -t utf8 > /var/shared/qrcode.utf8
${pkgs.qrencode}/bin/qrencode -t utf8 -o /var/shared/qrcode.utf8
cat /var/shared/login.info |
${pkgs.qrencode}/bin/qrencode -t png > /var/shared/qrcode.png
${pkgs.qrencode}/bin/qrencode -t png -o /var/shared/qrcode.png
'';
};
services.getty.autologinUser = lib.mkForce "root";