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-08-29 13:00:03 +00:00
|
|
|
inputs.clan-core.url = "git+https://git.clan.lol/clan/clan-core";
|
2023-07-21 13:13:26 +00:00
|
|
|
|
2023-09-03 13:36:00 +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-02 14:12:37 +00:00
|
|
|
in
|
|
|
|
{
|
|
|
|
# all machines managed by cLAN
|
|
|
|
nixosConfigurations = clan-core.lib.buildClan {
|
2023-09-03 13:35:14 +00:00
|
|
|
directory = self;
|
2023-09-02 14:12:37 +00:00
|
|
|
};
|
|
|
|
# add the cLAN cli tool to the dev shell
|
|
|
|
devShells.${system}.default = pkgs.mkShell {
|
|
|
|
packages = [
|
|
|
|
clan-core.packages.${system}.clan-cli
|
|
|
|
];
|
|
|
|
};
|
2023-07-21 13:13:26 +00:00
|
|
|
};
|
|
|
|
}
|