mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-21 04:42:07 +03:00
* Mark QEMU VMs as NixOS machines.
svn path=/nixos/trunk/; revision=34217
This commit is contained in:
parent
be4e823428
commit
9dadfc3541
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user