nix-config/modules/nix/containers/nixos.nix
smayzy 9037f01470
All checks were successful
nixos config pipeline / show-flake (push) Successful in 31s
nixos config pipeline / deploy (push) Successful in 7s
add cyberchef and correct things in nixos containers
2025-08-30 20:27:24 +02:00

24 lines
470 B
Nix

{
lib,
...
}:
let
inherit (lib) mkOption types;
in
{
options.smayzy.containers.networking = {
bridge = mkOption {
type = types.str;
description = "the bridge to use e.g. (br0)";
};
dns = mkOption {
type = types.listOf types.str;
description = "the dns servers to use e.g. [ 1.1.1.1 8.8.8.8 ]";
};
gateway = mkOption {
type = types.str;
description = "the gateway to use e.g. (10.10.10.255)";
};
};
}