2024-12-12 14:41:43 +01:00
|
|
|
# SPDX-FileCopyrightText: 2024 Maurice Debray <maurice.debray@dgnum.eu>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: EUPL-1.2
|
|
|
|
|
2023-10-20 19:41:03 +02:00
|
|
|
{ config, lib, ... }:
|
|
|
|
let
|
2024-02-02 10:51:31 +01:00
|
|
|
inherit (lib) mkEnableOption mkIf;
|
2023-10-20 19:41:03 +02:00
|
|
|
|
|
|
|
cfg = config.dgn-vmVariant;
|
|
|
|
in
|
|
|
|
|
|
|
|
{
|
2024-02-02 10:51:31 +01:00
|
|
|
options.dgn-vmVariant.enable = mkEnableOption "ACME settings." // {
|
|
|
|
default = true;
|
|
|
|
};
|
2023-10-20 19:41:03 +02:00
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
virtualisation.vmVariant = {
|
|
|
|
services.resolved.dnssec = "false";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|