clan-core: add clan meta for ui usage

This commit is contained in:
Johannes Kirschbauer
2024-05-31 17:22:38 +02:00
committed by hsjobeki
parent 2ac4294ff9
commit c7008fd302
9 changed files with 167 additions and 19 deletions

16
templates/empty/flake.nix Normal file
View File

@@ -0,0 +1,16 @@
# Clan configuration file
# TODO: This file is used as a template for the simple GUI workflow
{
inputs.clan-core.url = "git+file:///home/johannes/git/clan-core";
outputs =
{ self, clan-core, ... }:
let
clan = clan-core.lib.buildClan {
# This clan builds all its configuration out of the current directory
directory = self;
};
in
{
inherit (clan) nixosConfigurations clanInternals;
};
}