Templates/minimal: move name to flake.nix

This commit is contained in:
Johannes Kirschbauer
2025-07-11 14:52:05 +02:00
parent 4f98f8c2f0
commit a1e9195cd2
2 changed files with 7 additions and 7 deletions

View File

@@ -3,10 +3,15 @@
inputs.nixpkgs.follows = "clan-core/nixpkgs";
outputs =
{ self, clan-core, ... }:
inputs@{ self, clan-core, ... }:
let
# Usage see: https://docs.clan.lol
clan = clan-core.lib.clan { inherit self; };
clan = clan-core.lib.clan {
inherit self;
# Change this to your clan name
# Setting a name is required
meta.name = inputs.nixpkgs.lib.mkDefault "__clan__";
};
in
{
# all machines managed by Clan

View File

@@ -1,5 +0,0 @@
{
"meta": { "name": "__CHANGE_ME__" },
"machines": {},
"services": {}
}