From 2af0619873101062932295533d737a2c14a4aaaa Mon Sep 17 00:00:00 2001 From: seth Date: Tue, 7 Nov 2023 22:56:59 -0500 Subject: modules/githubWorkflow: remove see https://github.com/getchoo/nix2workflow --- flake.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 4975ea5..c7d48f9 100644 --- a/flake.nix +++ b/flake.nix @@ -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"; -- cgit v1.2.3