From e36c8964f0fed32480880994655831d9968e3bdf Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 7 Jan 2025 15:16:00 -0600 Subject: [PATCH] move template to top-level --- lib/default.nix | 3 ++- {lib/templates => templates}/dev/flake.nix | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename {lib/templates => templates}/dev/flake.nix (100%) diff --git a/lib/default.nix b/lib/default.nix index 87a1bdd..eb017a3 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -38,9 +38,10 @@ let oizysFlake = { templates = { dev = { - path = ./templates/dev; + path = ../templates/dev; description = "a basic dev shell"; }; + default = self.templates.dev; }; nixosModules = listToAttrs (findModulesList ../modules); nixosConfigurations = mapAttrs (name: _: mkSystem name) (readDir ../hosts); diff --git a/lib/templates/dev/flake.nix b/templates/dev/flake.nix similarity index 100% rename from lib/templates/dev/flake.nix rename to templates/dev/flake.nix