Files
service-aware-frontend/templates/new-clan/flake.nix
2023-09-02 16:12:37 +02:00

24 lines
583 B
Nix

{
description = "<Put your description here>";
inputs.clan-core.url = "git+https://git.clan.lol/clan/clan-core";
outputs = { clan-core, nixpkgs, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.x86_64-linux;
in
{
# all machines managed by cLAN
nixosConfigurations = clan-core.lib.buildClan {
directory = ./.;
};
# add the cLAN cli tool to the dev shell
devShells.${system}.default = pkgs.mkShell {
packages = [
clan-core.packages.${system}.clan-cli
];
};
};
}