infrastructure/modules/system/proxmox/container.nix
2024-05-13 15:31:34 -07:00

19 lines
374 B
Nix

{
config,
lib,
...
}: let
inherit (lib.options) mkOption mkEnableOption;
cfg = config.proxmox.container;
in {
options.proxmox.container = with lib.types; {
enable = mkEnableOption "LXC container";
privileged = mkEnableOption "root";
lxc = {
configJsonFile = mkOption {
type = nullOr path;
default = null;
};
};
};
}