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