templates: consistent templates, remove deprecated things
This commit is contained in:
2
templates/clan/minimal/.gitignore
vendored
2
templates/clan/minimal/.gitignore
vendored
@@ -1,2 +1,2 @@
|
||||
result
|
||||
result*
|
||||
.direnv/
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user