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
|
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
|
||||||
------
|
------
|
||||||
|
Loading…
Reference in New Issue
Block a user