From 56bcd0cf0bd4c52fa154194ff7c7e552b48cec1f Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 21 Sep 2023 11:40:01 +0200 Subject: [PATCH] template new-clan: set nixosConfigurations and clanInternal --- templates/new-clan/flake.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/templates/new-clan/flake.nix b/templates/new-clan/flake.nix index 4493397b6..fca91ed0c 100644 --- a/templates/new-clan/flake.nix +++ b/templates/new-clan/flake.nix @@ -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 = [