nixos-config/configs/flake-parts/templates.nix

35 lines
1.1 KiB
Nix
Raw Normal View History

# Cookiecutter templates for your mama.
{ inputs, ... }: {
flake.templates = {
default = inputs.self.templates.basic-devshell;
basic-devshell = {
2024-01-20 09:17:01 +00:00
path = ../../templates/basic-devshell;
description = "Basic development shell template";
};
2024-02-17 06:26:33 +00:00
basic-nix-cpp-app = {
path = ../../templates/basic-nix-cpp-app;
description = "Basic Nix program with C++ API";
};
basic-nix-module-flake = {
path = ../../templates/basic-nix-module-flake;
description = "Basic Nix module flake template";
};
basic-overlay-flake = {
2024-01-20 09:17:01 +00:00
path = ../../templates/basic-overlay-flake;
description = "Basic overlay as a flake";
};
2024-03-16 07:12:59 +00:00
rust-app = {
path = ../../templates/rust-app;
description = "Rust app scaffolding";
};
sample-nixos-template = {
2024-01-20 09:17:01 +00:00
path = ../../templates/sample-nixos-template;
description = "Simple sample Nix flake with NixOS and home-manager";
};
local-ruby-nix = {
2024-01-20 09:17:01 +00:00
path = ../../templates/local-ruby-nix;
description = "Local Ruby app development with ruby-nix";
};
};
}