Skip to content

Commit fe8284a

Browse files
committed
Set a default host platform
A nixos config only needs a few things set in order to build correctly, `nixpkgs.hostPlatform` being one of them. In the case of jetson devices, we can at least provide a default value for this that gets people up and running with one less thing to set.
1 parent 5d99c74 commit fe8284a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

modules/default.nix

+2
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ in
9191
message = "Docker version < 25 does not support CDI";
9292
}];
9393

94+
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
95+
9496
nixpkgs.overlays = [
9597
(import ../overlay.nix)
9698
];

0 commit comments

Comments
 (0)