From 6620fddec3e46ef02cd7066316457f506883d497 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Tue, 18 May 2021 08:46:24 +0200 Subject: [PATCH] update some scripts --- modules/programs/curl-scripts.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/programs/curl-scripts.nix b/modules/programs/curl-scripts.nix index 2365502..4ff69f6 100644 --- a/modules/programs/curl-scripts.nix +++ b/modules/programs/curl-scripts.nix @@ -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 ]; }; }