mirror of
https://code.dumpstack.io/tools/appvm.git
synced 2025-03-13 02:03:53 +00:00
Updated installation instructions for NixOS
This commit is contained in:
parent
d9c651987b
commit
c2413d0208
1 changed files with 9 additions and 11 deletions
|
@ -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…
Add table
Reference in a new issue