2024-12-12 11:54:49 +01:00
|
|
|
{
|
2025-01-23 14:13:19 +01:00
|
|
|
lib,
|
|
|
|
config,
|
|
|
|
modulesPath,
|
|
|
|
...
|
|
|
|
}: let
|
|
|
|
cfg = config.services.vm;
|
|
|
|
in {
|
2024-12-12 11:54:49 +01:00
|
|
|
options.services.vm = {
|
|
|
|
enable = lib.mkEnableOption "Enable LXC container config";
|
|
|
|
};
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
|
|
services.cloud-init.network.enable = true;
|
|
|
|
};
|
|
|
|
}
|