mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
fix apps
This commit is contained in:
parent
143c8aaee5
commit
8b45caeafc
1 changed files with 7 additions and 2 deletions
|
@ -1,14 +1,19 @@
|
|||
pkgs:
|
||||
builtins.mapAttrs
|
||||
(n: v: {
|
||||
type = "app";
|
||||
program = toString (pkgs.writeShellScript n v);
|
||||
})
|
||||
{
|
||||
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" ''
|
||||
qemu-uefi = ''
|
||||
exec ${pkgs.qemu_kvm}/bin/qemu-kvm -bios ${pkgs.OVMF.fd}/FV/OVMF.fd "$@"
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue