Simple application VMs (hypervisor-based sandbox) based on Nix package manager.
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
dump_stack() 9142fe53c6
Remove donate
pirms 4 mēnešiem
.github Remove donate pirms 4 mēnešiem
docs Updated installation instructions for NixOS pirms 10 mēnešiem
dot-desktop-fuse Switch to buildGoModule pirms 10 mēnešiem
nixos ooops, nixos cannot compute pirms 10 mēnešiem
os Build appvm from ../default.nix pirms 1 gada
patches virt-viewer: use title as subtitle pirms 1 gada
.envrc [feat] added environment files pirms 1 gada
.gitignore Update .gitignore pirms 1 gada
LICENSE Add LICENSE pirms 2 gadiem
Makefile Support remove run with `nix run` pirms 1 gada
README.md Update screenshot pirms 1 gada
appvm.go fix: stat made qcow2 image creation return error every time pirms 10 mēnešiem
base.nix.go Do not specify session explicitly pirms 1 gada
builtin.go Update builtin chromium appvm description pirms 1 gada
default.nix nixpkgs-able default.nix pirms 10 mēnešiem
generate.go Avoid of changing current work directory pirms 1 gada
go.mod Switch to buildGoModule pirms 10 mēnešiem
go.sum Switch to buildGoModule pirms 10 mēnešiem
local.nix.template.go Do no enable anything in default local.nix pirms 1 gada
shell.nix [feat] added environment files pirms 1 gada
xml.go Add --network switch to select a networking model (#22) pirms 1 gada

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