Revert "add colmena"

This reverts commit 97c47ca04a.
This commit is contained in:
2025-10-31 00:25:26 +08:00
parent 97c47ca04a
commit cc28714ede
2 changed files with 14 additions and 37 deletions

View File

@@ -3,7 +3,6 @@
inputs = {
agenix.url = "github:ryantm/agenix";
colmena.url = "github:zhaofengli/colmena";
disko = {
url = "github:nix-community/disko";
inputs.nixpkgs.follows = "nixpkgs";
@@ -25,41 +24,20 @@
outputs =
inputs:
let
flake = inputs.snowfall-lib.mkFlake {
inherit inputs;
src = ./.;
snowfall = {
namespace = "snowfall";
};
systems.modules.nixos = with inputs; [
agenix.nixosModules.default
];
homes.modules = with inputs; [
agenix.homeManagerModules.default
];
channels-config = {
allowUnfree = true;
};
inputs.snowfall-lib.mkFlake {
inherit inputs;
src = ./.;
snowfall = {
namespace = "snowfall";
};
inv = import ./inventory.nix;
mkNode = name: node: {
imports = [ (./systems/x86_64-linux + "/${name}") ];
deployment.targetHost = node.zerotierIp;
systems.modules.nixos = with inputs; [
agenix.nixosModules.default
];
homes.modules = with inputs; [
agenix.homeManagerModules.default
];
channels-config = {
allowUnfree = true;
};
colmenaNodes = builtins.mapAttrs mkNode inv.nodes;
colmenaHive = inputs.colmena.lib.makeHive (
{
meta = {
nixpkgs = import inputs.nixpkgs {
system = "x86_64-linux";
config.allowUnfree = true;
};
specialArgs = { inherit inputs; };
};
}
// colmenaNodes
);
in
flake // { colmenaHive = colmenaHive; };
};
}

View File

@@ -22,7 +22,6 @@
pkgs.claude-code
pkgs.codex
pkgs.amp-cli
inputs.colmena.packages.aarch64-darwin.colmena
];
home.sessionVariables = {