From 32410af3593f82e1fff01d69246526c3529be5df Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Wed, 7 Jan 2026 12:40:05 -0500 Subject: move custom devshells into dotfiles --- shells/default.nix | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 shells/default.nix (limited to 'shells/default.nix') diff --git a/shells/default.nix b/shells/default.nix new file mode 100644 index 0000000..8bc7548 --- /dev/null +++ b/shells/default.nix @@ -0,0 +1,36 @@ +{ + pkgs, + system, + inputs, +}: { + # Default shell only containing home-manager for + # initial installs + default = pkgs.mkShell { + packages = [ + inputs.home-manager.packages.${system}.home-manager + ]; + }; + + # Loads Nvidia CUDA + cuda = pkgs.mkShell (import ./cuda.nix { + pkgs = import inputs.nixpkgs { + inherit system; + config = { + allowUnfree = true; + cudaSupport = true; + cudaVersion = "12"; + }; + }; + lib = inputs.nixpkgs.lib; + }); + + # VST development with windows VST3 support though yabridge/wine + vst = pkgs.mkShell (import ./vst.nix { + pkgs = import inputs.nixpkgs { + inherit system; + config.allowUnfree = true; + }; + lib = inputs.nixpkgs.lib; + inherit system inputs; + }); +} -- cgit v1.2.3-freya