mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2024-11-22 20:23:01 +00:00
Updated installation instructions for NixOS
This commit is contained in:
parent
d9c651987b
commit
c2413d0208
@ -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
|
||||
------
|
||||
|
Loading…
Reference in New Issue
Block a user