mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
vm/windows: Don't init /nix/store on install.
We're going to do this during the suspendedVM phase, so we're able to more easily change the shares without reinstalling the whole VM. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
3e91192f07
commit
cfa859d792
@ -12,11 +12,8 @@ let
|
|||||||
$(cat "${cygwinSshKey}/key.pub")
|
$(cat "${cygwinSshKey}/key.pub")
|
||||||
PUBKEY
|
PUBKEY
|
||||||
ssh-host-config -y -c 'binmode ntsec' -w dummy
|
ssh-host-config -y -c 'binmode ntsec' -w dummy
|
||||||
|
cygrunsrv -S sshd
|
||||||
net use S: '\\192.168.0.2\nixstore'
|
shutdown -s 5
|
||||||
mkdir -p /nix/store
|
|
||||||
echo "/cygdrives/s /nix/store none bind 0 0" >> /etc/fstab
|
|
||||||
shutdown -s now
|
|
||||||
EOF
|
EOF
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user