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")
|
||||
PUBKEY
|
||||
ssh-host-config -y -c 'binmode ntsec' -w dummy
|
||||
|
||||
net use S: '\\192.168.0.2\nixstore'
|
||||
mkdir -p /nix/store
|
||||
echo "/cygdrives/s /nix/store none bind 0 0" >> /etc/fstab
|
||||
shutdown -s now
|
||||
cygrunsrv -S sshd
|
||||
shutdown -s 5
|
||||
EOF
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user