forked from clan/clan-core
template new-clan: set nixosConfigurations and clanInternal
This commit is contained in:
parent
58e5482efd
commit
56bcd0cf0b
@ -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 = [
|
||||||
|
Loading…
Reference in New Issue
Block a user