Swap dependencies and nix package manager installation

This commit is contained in:
Mikhail Klementev 2018-07-12 06:55:10 +00:00
parent a6031e7a3f
commit 00b40ef4c2

View file

@ -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