cli: don't depend on the entire clan-core

This commit is contained in:
Michael Hoang
2025-04-25 11:11:51 +10:00
parent 2f95d2edf2
commit 87e3e59ba0
5 changed files with 54 additions and 78 deletions

View File

@@ -1,43 +1,7 @@
{ self, inputs, ... }:
{
clan.templates = {
disko = {
single-disk = {
description = "A simple ext4 disk with a single partition";
path = ./disk/single-disk;
};
};
machine = {
flash-installer = {
description = "Initialize a new flash-installer machine";
path = ./machine/flash-installer;
};
new-machine = {
description = "Initialize a new machine";
path = ./machine/new-machine;
};
};
clan = {
default = {
description = "Initialize a new clan flake";
path = ./clan/new-clan;
};
minimal = {
description = "for clans managed via (G)UI";
path = ./clan/minimal;
};
flake-parts = {
description = "Flake-parts";
path = ./clan/flake-parts;
};
minimal-flake-parts = {
description = "Minimal flake-parts clan template";
path = ./clan/minimal-flake-parts;
};
};
clan = {
inherit (((import ./flake.nix).outputs { }).clan) templates;
};
flake = {