diff options
Diffstat (limited to 'shells/default.nix')
| -rw-r--r-- | shells/default.nix | 36 |
1 files changed, 36 insertions, 0 deletions
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; + }); +} |