|
3 months ago | |
---|---|---|
.github | 3 months ago | |
docs | 9 months ago | |
dot-desktop-fuse | 9 months ago | |
nixos | 9 months ago | |
os | 1 year ago | |
patches | 1 year ago | |
.envrc | 1 year ago | |
.gitignore | 1 year ago | |
LICENSE | 2 years ago | |
Makefile | 1 year ago | |
README.md | 1 year ago | |
appvm.go | 9 months ago | |
base.nix.go | 1 year ago | |
builtin.go | 1 year ago | |
default.nix | 9 months ago | |
generate.go | 1 year ago | |
go.mod | 9 months ago | |
go.sum | 9 months ago | |
local.nix.template.go | 1 year ago | |
shell.nix | 1 year ago | |
xml.go | 1 year ago |
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 search chromium
$ appvm start chromium
$ # ... long wait for first time, because we need to collect a lot of packages
$ appvm sync
You can customize local settings in ~/.config/appvm/nix/local.nix.
Default hotkey to release cursor: ctrl+alt.
$ ls appvm/chromium
foo.tar.gz
bar.tar.gz
$ appvm stop chromium
Add this command:
$ appvm autoballoon
to crontab like that:
$ crontab -l
* * * * * /home/user/dev/go/bin/appvm autoballoon