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 let
system = "x86_64-linux"; system = "x86_64-linux";
pkgs = clan-core.inputs.nixpkgs.legacyPackages.${system}; pkgs = clan-core.inputs.nixpkgs.legacyPackages.${system};
clan = clan-core.lib.buildClan {
directory = self;
};
in in
{ {
# all machines managed by cLAN # all machines managed by cLAN
nixosConfigurations = clan-core.lib.buildClan { inherit (clan) nixosConfigurations clanInternals;
directory = self;
};
# add the cLAN cli tool to the dev shell # add the cLAN cli tool to the dev shell
devShells.${system}.default = pkgs.mkShell { devShells.${system}.default = pkgs.mkShell {
packages = [ packages = [