update some scripts

This commit is contained in:
Ingolf Wagner 2021-05-18 08:46:24 +02:00
parent e7dc29ced5
commit 6620fddec3
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B

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 ];
};
}