- kawa.nix: main module with fixed NATS options - default.nix: default configuration - kawa-base.nix: base module with NATS settings - Hostname fixed (no /sys read) - NATS: settings.http_port instead of httpPort
18 lines
306 B
Nix
18 lines
306 B
Nix
# KAWA Base - Module de base pour tous les nœuds
|
|
# Options NATS corrigées pour Nixpkgs récent
|
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [ ./kawa.nix ];
|
|
|
|
# Configuration NATS corrigée
|
|
services.nats = {
|
|
enable = true;
|
|
settings = {
|
|
http_port = 8222;
|
|
port = 4222;
|
|
};
|
|
};
|
|
}
|