Set NIX_CONTAINER=1 in the image environment
commitdbcb628c0f9e6216cc5481c67fd2eeae9802d9b2
authoriko <mail@iko.soy>
dateSat 27 Jun 2026, 21:34 (3 months ago)
parente78ed46
flake.nix+2
@@ -113,6 +113,8 @@
113113 env = [
114114 "PATH=/bin"
115115 "HOME=/root"
116+ # Marker so shells/scripts can detect they're in here.
117+ "NIX_CONTAINER=1"
116118 ];
117119 };
118120 }