Regenerated

This commit is contained in:
2026-03-21 14:52:34 +00:00
parent ef3f25a576
commit 1a2912f23c
30 changed files with 5 additions and 1476 deletions
+5 -4
View File
@@ -396,10 +396,10 @@ let
debugContents = builtins.concatStringsSep "\n"
(map (m: "${m.name} (${builtins.toString (builtins.length (builtins.attrNames m.value))} attrs)") enabledModules);
# STEP 5: force evaluation to print to screen
# STEP 5: trace to screen during evaluation
_ = builtins.trace ("==== Enabled modules (" + toString (builtins.length enabledModules) + ") ====\n" + debugContents) true;
# STEP 6: write to host /tmp during build
# STEP 6: host-side debug file (runs on host, not VM)
hostDebugFile = pkgs.runCommand "traveldroid-modules-debug-host" {
buildInputs = [ pkgs.coreutils ];
} ''
@@ -418,12 +418,13 @@ in
./hardware-configuration.nix
];
# Merge enabled modules for home-manager
home-manager.users = lib.mkMerge (map (m: m.value) enabledModules);
# Write debug file inside VM
# Write debug file inside VM as well
environment.etc."traveldroid-modules-debug.txt".text = debugContents;
# Ensure host-side debug file is built
# Force Nix to build host-side debug file
system.build.hostDebugDummy = hostDebugFile;
}
#+END_SRC