templates: consistent templates, remove deprecated things

This commit is contained in:
Johannes Kirschbauer
2025-07-02 11:57:30 +02:00
parent a27321a826
commit f0c5a8c84a
13 changed files with 129 additions and 165 deletions

View File

@@ -1,2 +1,2 @@
result
result*
.direnv/

View File

@@ -2,16 +2,21 @@
inputs = {
clan-core.url = "https://git.clan.lol/clan/clan-core/archive/main.tar.gz";
nixpkgs.follows = "clan-core/nixpkgs";
flake-parts.follows = "clan-core/flake-parts";
flake-parts.inputs.nixpkgs-lib.follows = "clan-core/nixpkgs";
};
outputs =
{ self, clan-core, ... }:
{
self,
clan-core,
nixpkgs,
...
}:
let
# Usage see: https://docs.clan.lol
clan = clan-core.lib.clan { inherit self; };
clan = clan-core.lib.clan {
inherit self;
meta.name = nixpkgs.lib.mkDefault "new-clan";
};
in
{
# all machines managed by Clan