Templates/minimal: move name to flake.nix
This commit is contained in:
committed by
a-kenji
parent
ff41903e47
commit
24d82776e7
@@ -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
|
||||
|
||||
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"meta": { "name": "__CHANGE_ME__" },
|
||||
"machines": {},
|
||||
"services": {}
|
||||
}
|
||||
Reference in New Issue
Block a user