update some scripts

feature/hass
Ingolf Wagner 2021-05-18 08:46:24 +02:00
parent e7dc29ced5
commit 6620fddec3
Signed by: palo
GPG Key ID: 76BF5F1928B9618B
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ let
'';
qrCodeScript = pkgs.writeShellScriptBin "qrCode" ''
${pkgs.curl}/bin/curl "qrenco.de/$1"
${pkgs.qrencode}/bin/qrencode -t ANSI -o - "$@"
'';
cheatSheetScript = pkgs.writeShellScriptBin "cheatsheet" ''
@ -25,7 +25,7 @@ in {
config = mkIf cfg.enable {
environment.systemPackages =
[ weatherScript qrCodeScript cheatSheetScript ];
[ weatherScript qrCodeScript cheatSheetScript pkgs.qrencode ];
};
}