dotfiles.nix/templates/default.nix

14 lines
341 B
Nix
Raw Normal View History

2023-01-04 00:37:19 +00:00
let
2023-08-23 00:50:29 +00:00
mkTemplates =
builtins.mapAttrs (name: attrs: attrs // { path = ./. + "/${name}"; });
in mkTemplates {
2022-12-21 05:22:57 +00:00
rust = {
description = "A rust flake template based on flake.parts";
welcomeText = ''
welcome to a new rust project ()
run `direnv allow` and `cargo init` to start a new project
'';
};
}