mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-11-30 12:01:29 +00:00
Swap dependencies and nix package manager installation
This commit is contained in:
parent
a6031e7a3f
commit
00b40ef4c2
14
README.md
14
README.md
|
@ -8,21 +8,21 @@ Currently optimized for full screen usage (but remote-viewer has ability to resi
|
|||
|
||||
![appvm screenshot](screenshots/2018-07-05.png)
|
||||
|
||||
## Install Nix package manager
|
||||
|
||||
$ sudo mkdir -m 0755 /nix && sudo chown $USER /nix
|
||||
$ curl https://nixos.org/nix/install | sh
|
||||
$ . ~/.nix-profile/etc/profile.d/nix.sh
|
||||
|
||||
## Dependencies
|
||||
|
||||
$ sudo apt install golang virt-manager curl
|
||||
$ echo 'export GOPATH=$HOME/go' >> ~/.bash_profile
|
||||
$ echo 'export PATH=$PATH:$GOPATH/bin' >> ~/.bash_profile
|
||||
$ source ~/.bashrc
|
||||
$ source ~/.bash_profile
|
||||
|
||||
You need to **relogin** if you install virt-manager (libvirt) first time.
|
||||
|
||||
## Install Nix package manager
|
||||
|
||||
$ sudo mkdir -m 0755 /nix && sudo chown $USER /nix
|
||||
$ curl https://nixos.org/nix/install | sh
|
||||
$ . ~/.nix-profile/etc/profile.d/nix.sh
|
||||
|
||||
## Libvirt from user (required if you need access to shared files)
|
||||
|
||||
$ echo user = "\"$USER\"" | sudo tee -a /etc/libvirt/qemu.conf
|
||||
|
|
Loading…
Reference in a new issue