mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-10 04:49:19 -08:00
19 lines
374 B
Nix
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;
|
|
};
|
|
};
|
|
};
|
|
}
|