File tree Expand file tree Collapse file tree 1 file changed +22
-1
lines changed
targets/nvidia-jetson-orin Expand file tree Collapse file tree 1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change 2929 self . nixosModules . reference-host-demo-apps
3030 self . nixosModules . reference-profiles-orin
3131 self . nixosModules . profiles
32+ (
33+ { config , ... } :
34+ {
35+ ghaf . logging = {
36+ enable = lib . mkForce true ;
37+ server . endpoint = lib . mkForce "https://loki.ghaflogs.vedenemo.dev/loki/api/v1/push" ;
38+ listener . address = lib . mkForce config . ghaf . networking . hosts . admin-vm . ipv4 ;
39+ } ;
40+ }
41+ )
3242 ] ;
3343
3444 # concatinate modules that are specific to a target
@@ -119,11 +129,22 @@ let
119129
120130 generate-cross-from-x86_64 =
121131 tgt :
132+ let
133+ enableGivcForAgxDebug = builtins . elem tgt . name [
134+ "nvidia-jetson-orin-agx-debug"
135+ "nvidia-jetson-orin-agx-debug-nodemoapps"
136+ ] ;
137+ in
122138 tgt
123139 // rec {
124140 name = tgt . name + "-from-x86_64" ;
125141 hostConfiguration = tgt . hostConfiguration . extendModules {
126- modules = [ self . nixosModules . cross-compilation-from-x86_64 ] ;
142+ modules = [ self . nixosModules . cross-compilation-from-x86_64 ] ++ lib . optionals enableGivcForAgxDebug [
143+ {
144+ ghaf . givc . enable = lib . mkForce true ;
145+ ghaf . givc . debug = lib . mkForce false ;
146+ }
147+ ] ;
127148 } ;
128149 package = hostConfiguration . config . system . build . ${ hostConfiguration . config . formatAttr } ;
129150 } ;
You can’t perform that action at this time.
0 commit comments