1
0
Fork 0

Updated installation instructions for NixOS

master v0.5
Vladimir Serov 2020-07-14 06:23:28 +03:00 committed by Mikhail Klementev
parent d9c651987b
commit c2413d0208
1 changed files with 9 additions and 11 deletions

View File

@ -4,22 +4,20 @@ Installation
NixOS NixOS
----- -----
First, clone this repo. Then do this:
/etc/nixos/configuration.nix:: /etc/nixos/configuration.nix::
virtualisation.libvirtd = { imports = [
/path/to/repo/nixos
];
virtualizatiom.appvm = {
enable = true; enable = true;
qemuVerbatimConfig = '' user = "${username}";
namespaces = []
user = "${username}"
group = "users"
'';
}; };
users.users."${username}".extraGroups = [ ... "libvirtd" ]; This is a temporary solution until appvm is upstreamed to nixpkgs or Nix flakes are released.
shell::
nix run -f https://code.dumpstack.io/tools/appvm/archive/master.tar.gz -c appvm
Ubuntu 20.04 Ubuntu 20.04
------ ------