remove apps

This commit is contained in:
Sean Buckley 2023-01-25 16:37:09 -05:00
parent bd0ae3d866
commit 14e54fb7d8
2 changed files with 0 additions and 25 deletions

View file

@ -63,9 +63,6 @@
(_: lib.nixosSystem) (_: lib.nixosSystem)
(import ./hosts self.nixosModules.default); (import ./hosts self.nixosModules.default);
apps = forAllSystems (system:
import lib/apps.nix nixpkgs.legacyPackages.${system});
packages = forAllSystems (system: packages = forAllSystems (system:
mypkgs nixpkgs.legacyPackages.${system}); mypkgs nixpkgs.legacyPackages.${system});
}; };

View file

@ -1,22 +0,0 @@
pkgs:
builtins.mapAttrs
(n: v: {
type = "app";
program = toString (pkgs.writeShellScript n v);
})
{
jupyterlab = ''
jupy=${pkgs.python3.withPackages (p: [ p.jupyterlab p.ipython ])}
exec $jupy/bin/python -m jupyterlab "$@"
'';
qemu = toString [
"exec ${pkgs.qemu_kvm}/bin/qemu-kvm"
"-cpu host"
"-usbdevice tablet"
"-smp cores=4"
"-m 4096"
"-bios ${pkgs.OVMF.fd}/FV/OVMF.fd"
"\"$@\""
];
}