mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: dynamic structure for templates in flake.nix
This commit is contained in:
parent
efd667c76a
commit
f4f98b248d
4 changed files with 95 additions and 59 deletions
|
|
@ -1,8 +1,8 @@
|
|||
rec {
|
||||
python = {
|
||||
path = ./python;
|
||||
description =
|
||||
"Python Project";
|
||||
};
|
||||
default = python;
|
||||
}
|
||||
{ lib, ... }:
|
||||
let
|
||||
templateNames = [
|
||||
"python"
|
||||
"rust"
|
||||
];
|
||||
in
|
||||
lib.swarselsystems.mkTemplates templateNames
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue