summaryrefslogtreecommitdiff
path: root/flake.nix
blob: 7a1bc27689d97ab65c90f0e064d43923b61a4f70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
  outputs = { self }: {

    templates = {
      rust = {
        path = ./rust-devenv;
        description = "Rust/Cargo project - devenv.sh";
        welcomeText = ''
          # Simple Rust/Cargo Template
          ## Intended usage
          Intended for general rust development on NixOS based systems.
          ## More info
          - [Rust language](https://www.rust-lang.org/)
          - [Rust on the NixOS Wiki](https://wiki.nixos.org/wiki/Rust)
          - ...
        '';
      };
      bevy = {
        path = ./bevy-devenv;
        description = "Bevy engine game project - devenv.sh";
        welcomeText = ''
          # Simple Bevy engine template
        '';
      };
      java-gradle = {
        path = ./java-gradle-devenv;
        description = "Java development environment";
      };
    };

    templates.default = self.templates.rust;
  };
}