Skip to content

Commit

Permalink
Fix an issue that ghaf enable debug profile as default
Browse files Browse the repository at this point in the history
Signed-off-by: Anh Huy Bui <[email protected]>
  • Loading branch information
buianhhuy96 committed Nov 5, 2024
1 parent c8123f1 commit 5ed9b9f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion config-processor-installers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5ed9b9f

Please sign in to comment.