Create Basic Templates
This commit is contained in:
17
flake.nix
Normal file
17
flake.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
outputs = { self, ... }: {
|
||||
templates = let
|
||||
t = path: description: {
|
||||
inherit path description;
|
||||
};
|
||||
basic = t ./flakes/basic ''
|
||||
Basic Nix Flake Template
|
||||
'';
|
||||
in {
|
||||
python = t ./flakes/python ''
|
||||
Basic Python Environment Template
|
||||
'';
|
||||
default = basic;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user