photoncloud-monorepo/nix-nos/modules/default.nix
centra 3eeb303dcb feat: Batch commit for T039.S3 deployment
Includes all pending changes needed for nixos-anywhere:
- fiberlb: L7 policy, rule, certificate types
- deployer: New service for cluster management
- nix-nos: Generic network modules
- Various service updates and fixes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-13 04:34:51 +09:00

31 lines
629 B
Nix

{ config, lib, pkgs, ... }:
{
imports = [
./network/interfaces.nix
./network/vlans.nix
./bgp/default.nix
./routing/static.nix
];
options.nix-nos = {
enable = lib.mkEnableOption "Nix-NOS network operating system modules";
version = lib.mkOption {
type = lib.types.str;
default = "0.1.0";
readOnly = true;
description = "Nix-NOS version";
};
};
config = lib.mkIf config.nix-nos.enable {
# Global assertions
assertions = [
{
assertion = pkgs.stdenv.isLinux;
message = "Nix-NOS is only supported on Linux systems";
}
];
};
}