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

27 lines
853 B
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";
};
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";
};
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";
};
};
}