update some scripts
This commit is contained in:
parent
e7dc29ced5
commit
6620fddec3
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ let
|
||||||
'';
|
'';
|
||||||
|
|
||||||
qrCodeScript = pkgs.writeShellScriptBin "qrCode" ''
|
qrCodeScript = pkgs.writeShellScriptBin "qrCode" ''
|
||||||
${pkgs.curl}/bin/curl "qrenco.de/$1"
|
${pkgs.qrencode}/bin/qrencode -t ANSI -o - "$@"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
cheatSheetScript = pkgs.writeShellScriptBin "cheatsheet" ''
|
cheatSheetScript = pkgs.writeShellScriptBin "cheatsheet" ''
|
||||||
|
@ -25,7 +25,7 @@ in {
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
[ weatherScript qrCodeScript cheatSheetScript ];
|
[ weatherScript qrCodeScript cheatSheetScript pkgs.qrencode ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue