flake: nix run "nixpks#nixfmt-rfc-style" -- flake.nix
This commit is contained in:
parent
2600da3144
commit
419c33d200
1 changed files with 3 additions and 3 deletions
|
@ -2,8 +2,8 @@
|
||||||
description = "Flake Template Hell";
|
description = "Flake Template Hell";
|
||||||
outputs = _: {
|
outputs = _: {
|
||||||
templates = builtins.mapAttrs (name: _: {
|
templates = builtins.mapAttrs (name: _: {
|
||||||
path = ./templates/${name};
|
path = ./templates/${name};
|
||||||
description = "Template for ${name} projects.";
|
description = "Template for ${name} projects.";
|
||||||
}) (builtins.readDir ./templates);
|
}) (builtins.readDir ./templates);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue