1
0
forked from clan/clan-core

template new-clan: set nixosConfigurations and clanInternal

This commit is contained in:
lassulus 2023-09-21 11:40:01 +02:00
parent 58e5482efd
commit 56bcd0cf0b

View File

@ -7,12 +7,13 @@
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
nixosConfigurations = clan-core.lib.buildClan {
directory = self;
};
inherit (clan) nixosConfigurations clanInternals;
# add the cLAN cli tool to the dev shell
devShells.${system}.default = pkgs.mkShell {
packages = [