From ab6a9b2d5283d6fe309b19a919b95c9e8c331e17 Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Sat, 15 Feb 2025 17:58:42 +0700 Subject: [PATCH] templates: move `machine` templates --- templates/flake-module.nix | 4 ++-- templates/flake.nix | 2 +- .../machines => machine}/flash-installer/configuration.nix | 0 .../machines => machine}/flash-installer/disko.nix | 0 .../machines => machine}/new-machine/configuration.nix | 0 5 files changed, 3 insertions(+), 3 deletions(-) rename templates/{clan/machineTemplates/machines => machine}/flash-installer/configuration.nix (100%) rename templates/{clan/machineTemplates/machines => machine}/flash-installer/disko.nix (100%) rename templates/{clan/machineTemplates/machines => machine}/new-machine/configuration.nix (100%) diff --git a/templates/flake-module.nix b/templates/flake-module.nix index 0456becb5..2cf940d6a 100644 --- a/templates/flake-module.nix +++ b/templates/flake-module.nix @@ -11,12 +11,12 @@ machine = { flash-installer = { description = "Initialize a new flash-installer machine"; - path = ./clan/machineTemplates/machines/flash-installer; + path = ./machine/flash-installer; }; new-machine = { description = "Initialize a new machine"; - path = ./clan/machineTemplates/machines/new-machine; + path = ./machine/new-machine; }; }; diff --git a/templates/flake.nix b/templates/flake.nix index 8be797338..c11539f49 100644 --- a/templates/flake.nix +++ b/templates/flake.nix @@ -21,7 +21,7 @@ }; machineTemplates = { description = "Machine templates"; - path = ./clan/machineTemplates; + path = ./machine; }; }; }; diff --git a/templates/clan/machineTemplates/machines/flash-installer/configuration.nix b/templates/machine/flash-installer/configuration.nix similarity index 100% rename from templates/clan/machineTemplates/machines/flash-installer/configuration.nix rename to templates/machine/flash-installer/configuration.nix diff --git a/templates/clan/machineTemplates/machines/flash-installer/disko.nix b/templates/machine/flash-installer/disko.nix similarity index 100% rename from templates/clan/machineTemplates/machines/flash-installer/disko.nix rename to templates/machine/flash-installer/disko.nix diff --git a/templates/clan/machineTemplates/machines/new-machine/configuration.nix b/templates/machine/new-machine/configuration.nix similarity index 100% rename from templates/clan/machineTemplates/machines/new-machine/configuration.nix rename to templates/machine/new-machine/configuration.nix