photoncloud-monorepo/nix/templates/iam-flaredb-minimal.nix
2026-04-04 16:33:03 +09:00

18 lines
509 B
Nix

{ inputs, pkgs, config, ... }:
{
# Minimal footprint: chainfire + flaredb + iam only (for auth/metadata testing).
imports = [ inputs.self.nixosModules.ultracloud ];
networking.hostName = "ultracloud-minimal";
networking.firewall.allowedTCPPorts = [ 8081 8082 9000 ];
services.chainfire.enable = true;
services.flaredb.enable = true;
services.iam.enable = true;
environment.systemPackages = with inputs.self.packages.${pkgs.system}; [
chainfire-server flaredb-server iam-server
];
}