add basic

This commit is contained in:
2025-11-03 15:28:43 +08:00
parent ff73f7fd78
commit b934d9ef62
3 changed files with 50 additions and 64 deletions

View File

@@ -18,7 +18,12 @@
};
in
{
inherit (clan.config) nixosConfigurations nixosModules clanInternals;
inherit (clan.config)
nixosConfigurations
nixosModules
darwinConfigurations
clanInternals
;
clan = clan.config;
# Add the Clan cli tool to the dev shell.
# Use "nix develop" to enter the dev shell.
@@ -30,10 +35,20 @@
"aarch64-darwin"
"x86_64-darwin"
]
(system: {
default = clan-core.inputs.nixpkgs.legacyPackages.${system}.mkShell {
packages = [ clan-core.packages.${system}.clan-cli ];
};
});
(
system:
let
pkgs = import nixpkgs { inherit system; };
in
{
default = clan-core.inputs.nixpkgs.legacyPackages.${system}.mkShell {
packages = [
clan-core.packages.${system}.clan-cli
pkgs.nil
];
};
}
);
};
}