From c7b9a8d839ad66d604e20cb0a0abcfb799291580 Mon Sep 17 00:00:00 2001 From: Jeltz Date: Mon, 7 Apr 2025 20:27:10 +0200 Subject: [PATCH] =?UTF-8?q?fix(infra):=20typo=20enabled=20=E2=86=92=20enab?= =?UTF-8?q?le?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- hive.nix | 2 +- profiles/infra.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hive.nix b/hive.nix index 99a80c7..ceaabd7 100644 --- a/hive.nix +++ b/hive.nix @@ -51,7 +51,7 @@ in services.openssh.enable = true; networking.nftables.enable = true; - infra.enabled = true; + infra.enable = true; backups.enable = true; # Enable system diffs. diff --git a/profiles/infra.nix b/profiles/infra.nix index b630efd..e0aa7d7 100644 --- a/profiles/infra.nix +++ b/profiles/infra.nix @@ -99,7 +99,7 @@ let }; in { options.infra = { - enabled = lib.mkEnableOption "Réseau INFRA"; + enable = lib.mkEnableOption "Réseau INFRA"; hub = lib.mkOption { type = lib.types.nullOr (lib.types.submodule { options = { @@ -144,7 +144,7 @@ in { }; }; - config = lib.mkIf cfg.enabled { + config = lib.mkIf cfg.enable { systemd.network = lib.mkMerge [ (lib.mkIf isHub hubNetwork) (lib.mkIf (!isHub) leafNetwork)