nixos-config/lib/apps.nix
2022-05-04 13:34:27 -04:00

14 lines
356 B
Nix

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 "$@"
'';
}