nixos-config/lib/apps.nix

15 lines
356 B
Nix
Raw Normal View History

2022-05-04 17:27:07 +00:00
pkgs:
{
jupyterlab =
let
jupy = pkgs.python3.withPackages (p: with p; [ jupyterlab ipython ]);
in
pkgs.writeShellScriptBin "jupyterlab" ''
exec ${jupy}/bin/python -m jupyterlab "$@"
'';
qemu-uefi = pkgs.writeShellScriptBin "qemu-uefi" ''
exec ${pkgs.qemu_kvm}/bin/qemu-kvm -bios ${pkgs.OVMF.fd}/FV/OVMF.fd "$@"
'';
}