mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
14 lines
356 B
Nix
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 "$@"
|
|
'';
|
|
}
|