clan template: reduce autogenerate code to a minimum

This commit is contained in:
Jörg Thalheim
2023-08-29 15:00:03 +02:00
committed by Mic92
parent bf19e51c9f
commit a4e182debf
6 changed files with 41 additions and 59 deletions

View File

@@ -1,16 +1,11 @@
{
description = "<Put your description here>";
inputs = {
clan-core.url = "git+https://git.clan.lol/clan/clan-core";
flake-parts.url = "github:hercules-ci/flake-parts";
};
inputs.clan-core.url = "git+https://git.clan.lol/clan/clan-core";
outputs = inputs @ { flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" ];
imports = [
./clan-flake-module.nix
];
outputs = { clan-core, ... }: {
nixosConfigurations = clan-core.lib.buildClan {
directory = ./.;
};
};
}