2023-07-21 13:13:26 +00:00
|
|
|
{
|
2023-07-26 09:31:33 +00:00
|
|
|
description = "<Put your description here>";
|
2023-07-21 13:13:26 +00:00
|
|
|
|
2023-10-31 12:01:16 +00:00
|
|
|
inputs.clan-core.url = "git+https://git.clan.lol/clan/clan-core";
|
2023-07-21 13:13:26 +00:00
|
|
|
|
2024-03-17 18:48:49 +00:00
|
|
|
outputs =
|
|
|
|
{ self, clan-core, ... }:
|
2023-09-02 14:12:37 +00:00
|
|
|
let
|
|
|
|
system = "x86_64-linux";
|
2023-09-03 13:36:00 +00:00
|
|
|
pkgs = clan-core.inputs.nixpkgs.legacyPackages.${system};
|
2023-09-21 09:40:01 +00:00
|
|
|
clan = clan-core.lib.buildClan {
|
|
|
|
directory = self;
|
2023-10-19 21:24:58 +00:00
|
|
|
clanName = "__CHANGE_ME__";
|
2023-09-21 09:40:01 +00:00
|
|
|
};
|
2023-09-02 14:12:37 +00:00
|
|
|
in
|
|
|
|
{
|
|
|
|
# all machines managed by cLAN
|
2023-09-21 09:40:01 +00:00
|
|
|
inherit (clan) nixosConfigurations clanInternals;
|
2023-09-02 14:12:37 +00:00
|
|
|
# add the cLAN cli tool to the dev shell
|
|
|
|
devShells.${system}.default = pkgs.mkShell {
|
2024-03-17 18:48:49 +00:00
|
|
|
packages = [ clan-core.packages.${system}.clan-cli ];
|
2023-09-02 14:12:37 +00:00
|
|
|
};
|
2023-07-21 13:13:26 +00:00
|
|
|
};
|
|
|
|
}
|