flake: expose hyperhive package + nixos module + agent-base container
This commit is contained in:
parent
6686df93a5
commit
c67584c7c1
6 changed files with 145 additions and 0 deletions
17
nix/templates/agent-base.nix
Normal file
17
nix/templates/agent-base.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
boot.isContainer = true;
|
||||
|
||||
environment.systemPackages = [ pkgs.hyperhive ];
|
||||
|
||||
systemd.services.hive-ag3nt = {
|
||||
description = "hive-ag3nt harness";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.hyperhive}/bin/hive-ag3nt";
|
||||
Type = "oneshot";
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "25.11";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue