* Mark QEMU VMs as NixOS machines.

svn path=/nixos/trunk/; revision=34217
This commit is contained in:
Eelco Dolstra 2012-05-23 15:40:31 +00:00
parent be4e823428
commit 9dadfc3541

View File

@ -274,6 +274,10 @@ in
boot.initrd.postMountCommands =
''
# Mark this as a NixOS machinex.
mkdir -p $targetRoot/etc
echo -n > $targetRoot/etc/NIXOS
# Fix the permissions on /tmp.
chmod 1777 $targetRoot/tmp