From c2413d0208b0c4b6c0e43c80cd51b08f43c13506 Mon Sep 17 00:00:00 2001 From: Vladimir Serov Date: Tue, 14 Jul 2020 06:23:28 +0300 Subject: [PATCH] Updated installation instructions for NixOS --- docs/installation.rst | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/docs/installation.rst b/docs/installation.rst index bc7b7f0..e392108 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -4,22 +4,20 @@ Installation NixOS ----- +First, clone this repo. Then do this: + /etc/nixos/configuration.nix:: - virtualisation.libvirtd = { + imports = [ + /path/to/repo/nixos + ]; + + virtualizatiom.appvm = { enable = true; - qemuVerbatimConfig = '' - namespaces = [] - user = "${username}" - group = "users" - ''; + user = "${username}"; }; - users.users."${username}".extraGroups = [ ... "libvirtd" ]; - -shell:: - - nix run -f https://code.dumpstack.io/tools/appvm/archive/master.tar.gz -c appvm +This is a temporary solution until appvm is upstreamed to nixpkgs or Nix flakes are released. Ubuntu 20.04 ------