Updated installation instructions for NixOS

This commit is contained in:
Vladimir Serov 2020-07-14 06:23:28 +03:00 committed by Mikhail Klementev
parent d9c651987b
commit c2413d0208

View file

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