summary refs log tree commit diff
path: root/flake.nix
blob: f9eb0559d1c9fdeb91d0c48adc78306749d5b9b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
  description = "Irenes' nix flake templates";

  outputs = { self }: {
    templates = {
      base = {
        path = ./base;
        description = ''
          Minimal flake, defines a shell, direnv, and gitignore.
        '';
      };

      rust = {
        path = ./rust;
        description = "A Rust project built using Cargo and crane.";
      };
    };

    defaultTemplate = self.templates.base;
  };
}