Phase 4: hive-m1nd harness + manager nixos template; devshell sqlite

This commit is contained in:
müde 2026-05-14 22:36:34 +02:00
parent aa67e5a481
commit 17092961a2
5 changed files with 159 additions and 28 deletions

26
nix/templates/manager.nix Normal file
View file

@ -0,0 +1,26 @@
{ pkgs, ... }:
{
boot.isNspawnContainer = true;
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (pkgs.lib.getName pkg) [ "claude-code" ];
environment.systemPackages = with pkgs; [
hyperhive
claude-code
git
coreutils-full
];
systemd.services.hive-m1nd = {
description = "hive-m1nd manager harness";
wantedBy = [ "multi-user.target" ];
after = [ "network.target" ];
serviceConfig = {
ExecStart = "${pkgs.hyperhive}/bin/hive-m1nd serve";
Restart = "on-failure";
RestartSec = 2;
};
};
system.stateVersion = "25.11";
}