mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
remove apps
This commit is contained in:
parent
bd0ae3d866
commit
14e54fb7d8
2 changed files with 0 additions and 25 deletions
|
@ -63,9 +63,6 @@
|
|||
(_: lib.nixosSystem)
|
||||
(import ./hosts self.nixosModules.default);
|
||||
|
||||
apps = forAllSystems (system:
|
||||
import lib/apps.nix nixpkgs.legacyPackages.${system});
|
||||
|
||||
packages = forAllSystems (system:
|
||||
mypkgs nixpkgs.legacyPackages.${system});
|
||||
};
|
||||
|
|
22
lib/apps.nix
22
lib/apps.nix
|
@ -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"
|
||||
"\"$@\""
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue