summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-11-07 22:56:59 -0500
committerseth <[email protected]>2023-11-07 22:56:59 -0500
commit2af0619873101062932295533d737a2c14a4aaaa (patch)
tree9a010d1795eb4e0fccf61227131dbfebd6b0a502 /flake.nix
parent7be02ad4a3136dfc52b8b660198a8e5a1e716496 (diff)
modules/githubWorkflow: remove
see https://github.com/getchoo/nix2workflow
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix9
1 files changed, 2 insertions, 7 deletions
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";