mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
refactor(access): network interface config
This commit is contained in:
parent
ee3834d72a
commit
f2fddc1001
42 changed files with 466 additions and 189 deletions
15
modules/system/proxmox/container.nix
Normal file
15
modules/system/proxmox/container.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{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;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue