From 5ed9b9ffba2f7f2a3b80cdd493d1318d597497ab Mon Sep 17 00:00:00 2001 From: buianhhuy96 Date: Tue, 5 Nov 2024 13:56:15 +0200 Subject: [PATCH] Fix an issue that ghaf enable debug profile as default Signed-off-by: Anh Huy Bui --- config-processor-installers.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/config-processor-installers.nix b/config-processor-installers.nix index 3598067..dac5566 100644 --- a/config-processor-installers.nix +++ b/config-processor-installers.nix @@ -41,7 +41,13 @@ let hardware.enableAllFirmware = true; - ghaf.development.usb-serial.enable = variant == "debug"; + ghaf = { + profiles = { + # variant type, turn on debug or release + debug.enable = variant == "debug"; + release.enable = variant == "release"; + }; + }; # Installer system profile # Use less privileged ghaf user