Skip to content

Commit 5c30125

Browse files
committed
flake: init templates
1 parent 30842a2 commit 5c30125

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

flake.nix

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,22 @@
5757
inherit inputs overlays;
5858
packages.${system} = import ./my/pkgs/default.nix {inherit inputs pkgs;};
5959
nixosModules = import ./my/nixosModules;
60+
61+
templates = {
62+
default = {
63+
path = ./templates/default;
64+
description = "Simple flake with a devshell";
65+
};
66+
prisma = {
67+
path = ./templates/prisma;
68+
description = "Prisma project template with nix-prisma-utils";
69+
};
70+
rust-overlay = {
71+
path = ./templates/rust-overlay;
72+
description = "Rust project";
73+
};
74+
};
75+
6076
devShells.${system}.default = pkgs.mkShell {
6177
name = "dotfiles";
6278
packages = with pkgs; [

0 commit comments

Comments
 (0)