forked from clan/clan-core
25 lines
636 B
Nix
25 lines
636 B
Nix
{
|
|
description = "<Put your description here>";
|
|
|
|
inputs.clan-core.url = "git+https://git.clan.lol/clan/clan-core";
|
|
|
|
outputs = { self, clan-core, ... }:
|
|
let
|
|
system = "x86_64-linux";
|
|
pkgs = clan-core.inputs.nixpkgs.legacyPackages.${system};
|
|
clan = clan-core.lib.buildClan {
|
|
directory = self;
|
|
};
|
|
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
|
|
];
|
|
};
|
|
};
|
|
}
|