Two-disk (system/state) btrfs-backed QEMU VM, nftables-isolated by default, adapted from a design provided as loose files. Adds a hermesHome option to the host module and migrate-docker-hermes.sh so an existing flat HERMES_HOME (e.g. from a prior Docker deployment) can be carried over intact. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
23 lines
620 B
Nix
23 lines
620 B
Nix
{
|
|
description = "Hermes's own system. This file belongs to the agent.";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1";
|
|
|
|
# Do NOT add inputs.nixpkgs.follows here. Determinate warn that it causes
|
|
# cache misses against FlakeHub Cache.
|
|
determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/3";
|
|
};
|
|
|
|
outputs = { nixpkgs, determinate, ... }: {
|
|
nixosConfigurations.hermes = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
determinate.nixosModules.default
|
|
./common.nix
|
|
./hardware.nix
|
|
];
|
|
};
|
|
};
|
|
}
|