feat(nix): expose NixOS module and add CLI args for host/port

- Expose nixosModules.default in flake outputs for easy import
- Add argparse to main.py for --host and --port CLI flags
- Support priority: CLI args > env vars > defaults
This commit is contained in:
2026-02-18 09:19:38 +01:00
parent d0f4f0ff2e
commit e47e36d55c
2 changed files with 26 additions and 5 deletions

View File

@@ -18,8 +18,11 @@
flake-utils,
m3ta-nixpkgs,
agents,
} @ inputs:
flake-utils.lib.eachDefaultSystem (system: let
}:
{
nixosModules.default = import ./nix/module.nix;
}
// flake-utils.lib.eachDefaultSystem (system: let
pkgs = nixpkgs.legacyPackages.${system};
pythonPackages = pkgs.python311Packages;