Simple application VMs (hypervisor-based sandbox) based on Nix package manager.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
dump_stack() 9142fe53c6
Remove donate
4 месяцев назад
.github Remove donate 4 месяцев назад
docs Updated installation instructions for NixOS 10 месяцев назад
dot-desktop-fuse Switch to buildGoModule 10 месяцев назад
nixos ooops, nixos cannot compute 10 месяцев назад
os Build appvm from ../default.nix 1 год назад
patches virt-viewer: use title as subtitle 1 год назад
.envrc [feat] added environment files 1 год назад
.gitignore Update .gitignore 1 год назад
LICENSE Add LICENSE 2 лет назад
Makefile Support remove run with `nix run` 1 год назад
README.md Update screenshot 1 год назад
appvm.go fix: stat made qcow2 image creation return error every time 10 месяцев назад
base.nix.go Do not specify session explicitly 1 год назад
builtin.go Update builtin chromium appvm description 1 год назад
default.nix nixpkgs-able default.nix 10 месяцев назад
generate.go Avoid of changing current work directory 1 год назад
go.mod Switch to buildGoModule 10 месяцев назад
go.sum Switch to buildGoModule 10 месяцев назад
local.nix.template.go Do no enable anything in default local.nix 1 год назад
shell.nix [feat] added environment files 1 год назад
xml.go Add --network switch to select a networking model (#22) 1 год назад

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