26 lines
688 B
Nix
26 lines
688 B
Nix
{
|
|
description = "<Put your description here>";
|
|
|
|
inputs.clan-core.url = "git+https://git.clan.lol/clan/clan-core?ref=Qubasa-main";
|
|
|
|
outputs = { self, clan-core, ... }:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = clan-core.inputs.nixpkgs.legacyPackages.${system};
|
|
clan = clan-core.lib.buildClan {
|
|
directory = self;
|
|
clanName = "__CHANGE_ME__";
|
|
};
|
|
in
|
|
{
|
|
# all machines managed by cLAN
|
|
inherit (clan) nixosConfigurations clanInternals;
|
|
# add the cLAN cli tool to the dev shell
|
|
devShells.${system}.default = pkgs.mkShell {
|
|
packages = [
|
|
clan-core.packages.${system}.clan-cli
|
|
];
|
|
};
|
|
};
|
|
}
|