From 14e54fb7d83ed2bf690ba87469495021ca8b1101 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Wed, 25 Jan 2023 16:37:09 -0500 Subject: [PATCH] remove apps --- flake.nix | 3 --- lib/apps.nix | 22 ---------------------- 2 files changed, 25 deletions(-) delete mode 100644 lib/apps.nix diff --git a/flake.nix b/flake.nix index 067d758..e75e7bd 100644 --- a/flake.nix +++ b/flake.nix @@ -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}); }; diff --git a/lib/apps.nix b/lib/apps.nix deleted file mode 100644 index 5599a4f..0000000 --- a/lib/apps.nix +++ /dev/null @@ -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" - "\"$@\"" - ]; -}