diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-01-07 12:40:05 -0500 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-01-07 16:41:08 -0500 |
| commit | 32410af3593f82e1fff01d69246526c3529be5df (patch) | |
| tree | b1501d526af9dc0d4308c467238fac4c70fc30a2 /shells/default.nix | |
| parent | move solaar rules to udev package (diff) | |
| download | dotfiles-nix-32410af3593f82e1fff01d69246526c3529be5df.tar.gz dotfiles-nix-32410af3593f82e1fff01d69246526c3529be5df.tar.bz2 dotfiles-nix-32410af3593f82e1fff01d69246526c3529be5df.zip | |
move custom devshells into dotfiles
Diffstat (limited to '')
| -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; + }); +} |