diff options
| author | seth <[email protected]> | 2023-11-07 22:56:59 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-11-07 22:56:59 -0500 |
| commit | 2af0619873101062932295533d737a2c14a4aaaa (patch) | |
| tree | 9a010d1795eb4e0fccf61227131dbfebd6b0a502 /flake.nix | |
| parent | 7be02ad4a3136dfc52b8b660198a8e5a1e716496 (diff) | |
modules/githubWorkflow: remove
see https://github.com/getchoo/nix2workflow
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -43,14 +43,9 @@ overlays.default = final: prev: (import ./pkgs final prev); - flakeModules = { - githubWorkflowGenerator = import ./modules/flake/githubWorkflow.nix self.flakeModules.workflowLib; - workflowLib = import ./modules/flake/workflowLib.nix lib; - }; - templates = let # string -> string -> {} - mkTemplate = name: description: { + toTemplate = name: description: { path = builtins.path { path = ./templates/${name}; name = "${name}-template"; @@ -59,7 +54,7 @@ inherit description; }; in - lib.mapAttrs mkTemplate { + lib.mapAttrs toTemplate { basic = "minimal boilerplate for my flakes"; full = "big template for complex flakes (using flake-parts)"; nixos = "minimal boilerplate for flake-based nixos configuration"; |
