Simple application VMs (hypervisor-based sandbox) based on Nix package manager.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dump_stack() 9142fe53c6
Remove donate
hace 4 meses
.github Remove donate hace 4 meses
docs Updated installation instructions for NixOS hace 10 meses
dot-desktop-fuse Switch to buildGoModule hace 10 meses
nixos ooops, nixos cannot compute hace 10 meses
os Build appvm from ../default.nix hace 1 año
patches virt-viewer: use title as subtitle hace 1 año
.envrc [feat] added environment files hace 1 año
.gitignore Update .gitignore hace 1 año
LICENSE Add LICENSE hace 2 años
Makefile Support remove run with `nix run` hace 1 año
README.md Update screenshot hace 1 año
appvm.go fix: stat made qcow2 image creation return error every time hace 10 meses
base.nix.go Do not specify session explicitly hace 1 año
builtin.go Update builtin chromium appvm description hace 1 año
default.nix nixpkgs-able default.nix hace 10 meses
generate.go Avoid of changing current work directory hace 1 año
go.mod Switch to buildGoModule hace 10 meses
go.sum Switch to buildGoModule hace 10 meses
local.nix.template.go Do no enable anything in default local.nix hace 1 año
shell.nix [feat] added environment files hace 1 año
xml.go Add --network switch to select a networking model (#22) hace 1 año

README.md

Documentation Status Donate Donate

Nix application VMs: security through virtualization

Simple application VMs (hypervisor-based sandbox) based on Nix package manager.

Uses one read-only /nix directory for all appvms. So creating a new appvm (but not first) is just about one minute.

appvm screenshot

Installation

See related documentation.

Usage

Search for applications

$ appvm search chromium

Run application

$ appvm start chromium
$ # ... long wait for first time, because we need to collect a lot of packages

Synchronize remote repos for applications

$ appvm sync

You can customize local settings in ~/.config/appvm/nix/local.nix.

Default hotkey to release cursor: ctrl+alt.

Shared directory

$ ls appvm/chromium
foo.tar.gz
bar.tar.gz

Close VM

$ appvm stop chromium

Automatic ballooning

Add this command:

$ appvm autoballoon

to crontab like that:

$ crontab -l
* * * * * /home/user/dev/go/bin/appvm autoballoon