hive: install container@.service on every hive, so agents created with nixos-container can start
This commit is contained in:
parent
0370076463
commit
5747c4c325
1 changed files with 16 additions and 1 deletions
|
|
@ -132,6 +132,11 @@ in
|
|||
services.hyperhive.gateway.dns.enable = lib.mkDefault true;
|
||||
services.hyperhive.network.enable = lib.mkDefault true;
|
||||
|
||||
# nixpkgs defaults this to `config.containers != { }`; with no declarative
|
||||
# container the `container@.service` template is missing and every
|
||||
# `nixos-container start` fails with "Unit container@<name>.service not found".
|
||||
boot.enableContainers = true;
|
||||
|
||||
assertions = [
|
||||
{
|
||||
# The pinned claude reaches agents as a bare path, so this
|
||||
|
|
|
|||
Loading…
Reference in a new issue